In the grid property window, specify doEdit for EditCommand.
private void InitializeComponent()
{
this.DataGrid1.EditCommand += new System.Web.UI.WebControls.DataGridCommandEventHandler(this.doEdit);
this.Load += new System.EventHandler(this.Page_Load);
}
#endregion
private void doEdit(object source, System.Web.UI.WebControls.DataGridCommandEventArgs e)
{
Response.Write("editing");
}
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only