使用 ID NO 亚音速搜索
public List<EmployeeDirectory> employee = new Health_Scheme_SystemDB.Select
.From<EmployeeDirectory>()
.Where(EmployeeDirectoryTable.ID_NOColumn).Contains(1005)
.ExecuteTypedList<EmployeeDirectory>();
.Select 给我带来了问题。它说“Health_Scheme_System.Health_Scheme_SystemDB.Select”是一个“属性”,但像“类型”一样使用
public List<EmployeeDirectory> employee = new Health_Scheme_SystemDB.Select
.From<EmployeeDirectory>()
.Where(EmployeeDirectoryTable.ID_NOColumn).Contains(1005)
.ExecuteTypedList<EmployeeDirectory>();
The .Select is giving me problems. Its saying that 'Health_Scheme_System.Health_Scheme_SystemDB.Select' is a 'property' but is used like a 'type'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
删除
new
- 您不是在创建新实例,因此不应使用new
。Remove the
new
- you are not creating a new instance so you shouldn't usenew
.然后用这段代码绑定网格视图。显然,文本框中输入的数据只会显示在网格视图中。
Then bind the grid view with this code. obviously there the data input in the textbox only will be displayed in the gridview.