如何将dataGridView1转换为DataTable [英] How to convert dataGridView1 to DataTable

查看:444
本文介绍了如何将dataGridView1转换为DataTable的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将dataGirdView中的内容转换为DataTable?

How to convert whats in dataGirdView to DataTable?

推荐答案

如果将数据放入DataTable中,然后将DGV绑定到它,则不会需要在两者之间进行转换.
If you put the data into a DataTable, then bound the DGV to it, you wouldn''t need to convert between the two.


这篇关于如何将dataGridView1转换为DataTable的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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