如何将gridview保存到另一个griedview [英] how to save on gridview to another griedview
本文介绍了如何将gridview保存到另一个griedview的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在我的第一个gridview中有复选框,当我勾选复选框时如何保存此选定内容是其他网格视图请告诉我
In my first gridview have checkbox and when i am tick the checkbox how to save this selected content is other grid view please tell me
推荐答案
OnCheckBox
点击代码背后的事件,只需获取行详细信息并将其保存在DataTable
中。
现在,将DataTable
分配给另一个GridView
绑定它。
OnCheckBox
Click Event on Code Behind, just get the Row Details and save it in aDataTable
.
Now, assign thatDataTable
to the otherGridView
and bind it.
这篇关于如何将gridview保存到另一个griedview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文