DataTable中的DataGridView [英] DataGridView in DataTable
本文介绍了DataTable中的DataGridView的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要DataTable的DataGridView中的所有行和列.我该如何实现
任何人都给我代码.
在此先感谢
Balaji.J
I Need all the rows and column in my DataGridView in DataTable. how can i achieve this
anyone give me the code..
Thanks in Advance
Balaji.J
推荐答案
尝试此链接
将Gridview数据导出到DataTable [ ^ ]
try this Link
Export Gridview Data to DataTable[^]
创建一个新的数据集,并将datagridview的数据源分配给新的数据集.
一旦完成操作,便可以访问新数据集的表
create a new dataset and assign the datasource of your datagridview to the new one
once u have done that u can access the table of thenew dataset
这篇关于DataTable中的DataGridView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文