在DataGrid系统中以3层过滤数据 [英] Filter Data in the DataGrid system in 3 layers

查看:51
本文介绍了在DataGrid系统中以3层过滤数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

工作人员美好的一天。

我有问题什么时候会过滤数据网格中的数据。

我使用的是一个有3层的系统(BLL,DAL,赢得)。每当我在文本框中键入内容时都会生成此错误消息
/ /错误

*无法转换类型为''System.Collections.Generic.List`1的对象[BLL。 BLL.Students.BLLStudents]''键入''System.Data.DataView''。


Staff good day.
I have a problem when that will filter the data in my datagrid.
I am using a system with 3 Layers (BLL, DAL, WIN). Whenever I type something in the textbox generates this error message
/ / Error
* Unable to cast object of type ''System.Collections.Generic.List `1 [BLL.BLL.Students.BLLStudents ]'' to type ''System.Data.DataView''.


展开 | 选择 | 换行 | 行号

推荐答案

你不能将列表对象分配给数据视图对象。
You can''t assign a list object to a dataview object.


所以在这种情况下如何在我的网站上做这种研究Datagrid?
so in this case how can I do this kind of research in my Datagrid?


你能解释一下吗?在这个例子中得到相同的结果吗?

Could you explain how to obtain the same result in this example here?

展开 | 选择 | Wrap | 行号


这篇关于在DataGrid系统中以3层过滤数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆