如何在网格视图中实现所有选项,如编辑,更新,删除取消

问题描述:

大家好,



我要求在网格视图中实现....我只有两列,即Id和用户名...



我能够使用.cs文件中的数据绑定来绑定数据....



但我的问题是当我尝试编辑用户名并点击更新按钮时我得到的旧值没有更新值.....



请帮忙......

Hi All,

I have on requirement to implement in grid view....i have only two columns i.e. Id and Username...

I am able to bind the data using data bind in .cs file....

But my problem is when i try to edit the username and click on update button i am getting the old value not updated value.....

Please help....

请按照以下步骤操作URL



添加,编辑,更新,删除gridview [ ^ ]









http://www.aspdotnet-suresh.com/2011/02/normal-0-false-false-false-en-us-x-non e.html [ ^ ]
Please follow the Steps of below URL

Add, Edit, update, Delete gridview[^]

or


http://www.aspdotnet-suresh.com/2011/02/normal-0-false-false-false-en-us-x-none.html[^]