如何通过一个具有不同条件的数据源绑定多个DataGridView. [英] How to bind multiple DataGridView by one datasource with different criteria.

查看:194
本文介绍了如何通过一个具有不同条件的数据源绑定多个DataGridView.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

如何通过一个具有不同条件的数据源绑定多个DataGridView.

请回复我[删除电子邮件以避免垃圾邮件]

Dear All,

How to bind multiple DataGridView by one dataSource with different Criteria.

Please Reply Me [Email removed to avoid spam]

推荐答案

是的,可以.将一个唯一的数据源与多个gridview绑定,并使用数据源中所需的任何列,并根据需要进行过滤.

没有什么不同.只需假设它是与网格绑定的数据源即可.如果一个与多个混淆,请假设每个和一个都有一个.
Yes it is possible. Bind the one and only datasource with multiple gridviews and use the columns whatever needed from datasource, filter as per needed.

There is nothing different in it. Just assume it''s a datasource to bind with a grid. If one with multiple is confusing you, assume there is one for each and code.


这篇关于如何通过一个具有不同条件的数据源绑定多个DataGridView.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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