Last post Jan 28, 2012 09:02 PM by Decker Dong - MSFT
Jan 27, 2012 05:10 AM|rookie tiro|LINK
protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e)
GridView1.EditIndex = e.NewEditIndex;
protected void GridView1_RowCancelingEdit(object sender, GridViewCancelEditEventArgs e)
GridView1.EditIndex = -1;
Jan 27, 2012 06:26 AM|Arunmhn|LINK
Open your aspx in design mode, right click the gridview control and select properties, in the properties tab select the lightening icon(Symbol to represent Events), it will list all the supported Events for this control... double click the empty area adjacent to an
event and the methods will be added to your code behind... this will help you to get familiar with the events of all the controls..
Jan 27, 2012 01:10 PM|rookie tiro|LINK
Jan 27, 2012 01:39 PM|Arunmhn|LINK
This can help you get started then http://www.codeproject.com/Articles/36528/GridView-all-in-one
Jan 28, 2012 09:02 PM|Decker Dong - MSFT|LINK
How could i get the code for the events similarly for Row_updating, Row_deleting, Sorting and pa...
Your 1st reply seems quite right……I cannot understand what you really want and what you mean by saying "similar events"？If you want to know more about GridView's events，please see MSDN+samples at：http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview_events.aspx