如何从Getpaged获取数据集?

时间:2014-03-23 15:35:46

标签: c# winforms codesmith

这段代码有什么问题?

service.BillViewService bvs = new service.BillViewService();
db.BillView bv = new db.BillView();
DataSet ds = new DataSet();
ds = bvs.GetPaged("InvNo=" + n, null, 0, 10000, out x).ToDataSet();

here

1 个答案:

答案 0 :(得分:0)

试试这个

  bvl2 = bvs.GetPaged(" Date = '" + Today + "' AND UserId = " + SpecUserID + "", null, 0, 1000, out x).ToDataSet(false);