您的位置:首页 > 其它

Gridview之RowCommand,ButtonField[add buttons and use the RowCommand event to add custom functionality to the control]

2008-04-08 11:53 501 查看
先查阅了MSDN官方网站关于GridView的相关ButtonField,RowCommand的内容。

http://msdn2.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowcommand.aspx

先摘抄些关键的东西:

Occurs when a button is clicked in a GridView control.

Namespace: System.Web.UI.WebControls

Assembly: System.Web (in System.Web.dll)

The RowCommand event is raised when a button is clicked in the GridView control. This enables you to provide an event-handling method that performsprotected void GridView1_RowCommand(object sender,

GridViewCommandEventArgs e)

其它相关参考网址:

http://msdn2.microsoft.com/en-us/library/bb498196.aspx
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐