如何在Gridview的行单击上使用编辑,更新,删除功能为多个表创建动态GridView [英] How to create dynamic gridview for multiple tables with edit, update, delete functions on row click of Gridview
问题描述
有一个下拉列表说:ddlSelectionMenu
[下拉列表包含数据库中所有表的列表]
有一个按钮说:Submit
[单击此按钮时,应在Gridview中填充特定的选定表]
只有一个Gridview说:gvShowTables
[gridview必须具有编辑,更新,删除,取消的功能]
但是,编辑,更新"操作应在鼠标单击事件"/鼠标双击事件"处进行.
该功能将类似于以下内容:
http://demos.telerik.com/aspnet-ajax/controls/examples/default/defaultcs.aspx [ ^ ]
请帮助...将代码发送到[已删除电子邮件]
在此先感谢.
There is Dropdownlist say: ddlSelectionMenu
[The dropdown contains the list of all tables in database]
There is a Button say : Submit
[On Clicking this button particular selected table should be populated in Gridview]
There is only single Gridview say : gvShowTables
[The gridview must be able to have functionality for Edit, Update, Delete, Cancel]
However, the Edit, Update operations should happen at Mouse Click Event / Mouse Double Click Event.
The functionality would be similer to what is there at:
http://demos.telerik.com/aspnet-ajax/controls/examples/default/defaultcs.aspx[^]
Please Help...send the code to [email removed]
Thanks in advance.
推荐答案
从这里开始,
GridView一目了然 [在GridView中就地编辑 [在ASP.NET 2.0中可编辑GridView [ ^ ]
试用一下,如果遇到麻烦,请发布特定问题.
Start from here,
GridView all in one[^]
Inplace Edit in GridView[^]
Editable GridView in ASP.NET 2.0[^]
Try out, if you get stuck, post specific issue.
这篇关于如何在Gridview的行单击上使用编辑,更新,删除功能为多个表创建动态GridView的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!