用户单击删除按钮时如何删除所选行 [英] how to delete selected row when user click on delete button
问题描述
我正在使用实用的网格"UltraWebGrid"
我已将asp.button放置在要删除的网格中(UltraWebGrid)
请告诉我如何删除所选记录
我的意思是说
我们可以通过使用"RowDeleting"事件使用"asp.net网格视图"做同样的事情
我们如何使用"UltraWebGrid"进行这样的管理
我们怎样才能像在"asp.grid视图"中那样获得键字段,我们在绑定时使用"DataKeyNames".后来我们通过使用"gv.DataKeys [e.RowIndex] .Value"来获取它.
我们如何在Infragestic的UltraWebGrid中做到这一点
我应该更喜欢这个"ItemCommand"还是其他
是否有任何示例或文章,例如,
i am working with ingragestic Grid " UltraWebGrid "
I have placed asp.button in grid for delete ( UltraWebGrid )
kindly tell me how to delete selected record
i mean to say as
we can do same thing using " asp.net grid view " by using " RowDeleting " event
How can we mange like this by using " UltraWebGrid "
how can we get key field like in " asp.grid view " we use " DataKeyNames " at bind time .Later we get it by using " gv.DataKeys[e.RowIndex].Value "
how we do this in UltraWebGrid of Infragestic
should i prefer this "ItemCommand " or what else
Is there any sample or article e.t.c
推荐答案
,请参阅此链接
^ ]
please see this links
http://samples.infragistics.com/aspnet/Samples/WebDataGrid/Editing-and-Selection/Delete-Rows-Server-Events/Default.aspx?cn=data-grid&sid=dfe1833a-5c56-4f57-a7fd-35bcac1af95f[^]
M几天前也有相同的要求,因此只需点击链接即可.
在Button单击时删除网格行 [
M also having the same requirements few days back, so just follow the link.
Deleting grid row on Button click[^]
这篇关于用户单击删除按钮时如何删除所选行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!