将一个gridview的列传递到另一个 [英] Pass column of one gridview into other
本文介绍了将一个gridview的列传递到另一个的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果我有两个gridview,并且我想在第二个gridview中添加一列,那么我使用什么代码.
请帮助我
If I have two gridview and i want to add a column of first gridview into second then what code i use.
please help me
推荐答案
拉维
我想知道如何添加列
1)在数据表级别
2)或在网格视图级别
如果要在数据表Mathod中添加列,则可以使用
"datatableMain.Merge(TempDataTable);"
希望对您有帮助
问候,
迪帕克
Hi Ravi
I want to know how do you want to add the column
1)On data table level
2)Or on the grid view level
If you want to add the column at datatable mathod then you can use
"datatableMain.Merge(TempDataTable);"
Hope it will help you
Regards,
Deepak
这篇关于将一个gridview的列传递到另一个的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文