How to select data from a data table

zhaozj2021-02-16  65

String str = a_strmocode;

DataRow [] arrdr = dscontent.tables [0] .select ("INSERTDATETIME = '"

DateTime.now.toString ("YYYY-MM-DD") "'and mocode like' STR "% '"," MOCODE ASC ");

DataSet objds = null;

Objds = new dataset ();

Objds.merge (arrdr);

Return Objds.tables [0] .defaultview;

转载请注明原文地址:https://www.9cbs.com/read-15810.html

New Post(0)