如何将gridview保存到另一个griedview [英] how to save on gridview to another griedview

查看:88
本文介绍了如何将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

推荐答案

On CheckBox 点击代码背后的事件,只需获取行详细信息并将其保存在 DataTable 中。



现在,将 DataTable 分配给另一个 GridView 绑定它。
On CheckBox Click Event on Code Behind, just get the Row Details and save it in a DataTable.

Now, assign that DataTable to the other GridView and bind it.


这篇关于如何将gridview保存到另一个griedview的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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