在 Gridview 之间移动选定的行
我目前有 Gridview1,它从数据库获取数据并显示人员列表。我还有一个 Gridview2,它最初是空白的。 我想添加从 gridview1 添加/删除行到 gridview2 的功能。 我已向 gridview1 添加了一个复选框列,以允许用户选择他们想要移动的记录。 我还添加了两个按钮>> 和<<。 有谁有一个示例说明如何将选定的记录从 Gridview1 添加/删除到 Gridview2?
提前致谢!
I currently have Gridview1 which gets it's data from a database and displays a list of people.I also have a Gridview2 which is initially blank.
I would like to add the functionality of adding/removing rows to gridview2 from gridview1.
I've added a checkbox column to gridview1 to allow users to select the records they'd like to move. I've also added two buttons >> and <<.
Does anyone have an example of how i can add/remove selected records from Gridview1 to Gridview2?
thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)