如何使用gridview按钮接受项目并在新表中移动项目 [英] how to use gridview button to accept items and move the item in new table
本文介绍了如何使用gridview按钮接受项目并在新表中移动项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在表A中有很多项目并在gridview中选择此项目,我需要代码如何使用gridview中的按钮接受gridview中的项目并将表格A中的项目复制到表格B
表A:
user_id
用户名
密码
email
gridview:
user_id用户名密码电子邮件
1 tala a123456 aha @ hotmail
表B
user_id
用户名
密码
email
i需要使用aspx代码(vb.net和asp.net)
i have many item in table A and select this item in gridview , i need the code how to use button in gridview to accept the item in gridview & copy the item in table A to table B
table A:
user_id
username
password
email
gridview:
user_id username password email
1 tala a123456 aha@hotmail
table B
user_id
username
password
email
i need code using aspx (vb.net & asp.net )
推荐答案
请参考这两个链接,试着去理解这个想法并相应地实施。
按钮单击上的gridview rowcommand示例 [ ^ ]
将选定的Gridview行移至Asp.net中的另一个Gridview [ ^ ]
问候......:笑:
Refer these two links,try to understand the idea and implement it accordingly.
Example of gridview rowcommand on Button Click [^]
Move Selected Gridview Rows to Another Gridview in Asp.net[^]
Regards..:laugh:
这篇关于如何使用gridview按钮接受项目并在新表中移动项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文