绑定到数据表的ListView [英] Bind DataTable to ListView
本文介绍了绑定到数据表的ListView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怎样才能绑定列表视图到数据表中持有的SQL(2005)表中的数据?和选择的记录详细信息列表视图中显示?
How can i bind listview to datatable which holds data from SQL(2005) table? and show selected record details in listview?
推荐答案
这似乎不是一个不平凡的任务呢,我不知道你为什么不使用谷歌。
It doesn't seem a non-trivial task, I don't know why don't you use Google.
<一个href="http://msdn.microsoft.com/en-us/library/vstudio/bh8kx08z%28v=vs.100%29.aspx?cs-save-lang=1&cs-lang=csharp#$c$c-snippet-1"相对=nofollow>从一个DataAdapter填充数据集(ADO.NET)
这篇关于绑定到数据表的ListView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文