如何将GridView行添加到数据表 [英] How to add gridview rows to a datatable

查看:101
本文介绍了如何将GridView行添加到数据表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我有一个gridview将包含一些"n"行.现在,我想将gridview的所有行添加到数据表中
我需要每一行的列值

谢谢inadvance

hi all,
I have a gridview which will contain some ''n'' number of rows. Now i want to add all rows of the gridview to a datatable
i need the columns value of each row

thanks inadvance

推荐答案

Google? :|

如何导出GridView.DataSource到数据表或数据集? [
Google? :|

How can I export a GridView.DataSource to a datatable or dataset?[^]


尝试
从C#到DataTable的GridView行 [
Try
GridView Row to DataTable in C#[^]


这篇关于如何将GridView行添加到数据表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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