如何获取Gridview的更新行属性。 [英] How to get Updated Row property of a Gridview.

查看:62
本文介绍了如何获取Gridview的更新行属性。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我通过拖动* .aspx页面上的数据库表创建了一个Gridview。这个表有许多列,如Id,Name,E-mail等。我还添加了此Gridview的CommandField属性ShowEditButton =true。现在我需要访问上次更新的所有列条目。我知道我应该使用GridView1_RowUpdated方法,但不知道检索每个列条目的代码。

在此先感谢您,非常感谢您的帮助。



Sazzad

I have created a Gridview by dragging a database table on my *.aspx page. This table has Many column like Id, Name, E-mail etc. I also add CommandField attribute ShowEditButton="true" of this Gridview. Now I need to access all the column entry which is last updated. I know I should use GridView1_RowUpdated Method, but don't know the code to retrieve every column entry.
Thanks in advance, your help is greatly appreciated.

Sazzad

推荐答案

http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowupdating(v = vs.110) .aspx [ ^ ]


这篇关于如何获取Gridview的更新行属性。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆