c# - 如何从 Getpaged 获取数据集?

标签 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

最佳答案

试试这个

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

关于c# - 如何从 Getpaged 获取数据集?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22592997/

相关文章:

c# - 在序列化之前将 string[] 转换为字符串

.net - Powershell和.NET表单对象

c# - 如何使用按钮监听器(基本上)使 C# UI 删除面板控件?

.net - 消息框.Show()

nhibernate - ORM 工具 - 十字路口?

c# - 使用 Lambda 的属性构造函数

c# - 无法在 WP 上调用必应翻译服务

c# - 无法将 TextMeshPro 文本获取到 Unity 中的变量槽

code-generation - Codesmith资源