Gridview rowupdating get red figure crayer dating from 460bc
I found that simple data binding of my Drop Down List in my Grid View to my Sql Data Source was not going to be enough.
In the above code, I set two properties Show Edit Button and Show Cancel Button of Command Field.Next event is the Grid View Row Editing event to give ASP. You need to set the Edit Index property of the Grid View with the New Edit Index property of the Grid View Edit Event Args class.If user clicks the Cancel button while Grid View is in editing mode, you need to Cancel the Editing process and also need to reset the Edit Index property to -1 in the Row Canceling Edit event of the Grid View control as shown below: The last step is to handle the Row Updating event to actually update the back end database.Grid View Collection Changing Event Args properties are summarized in the following table: The event fires after one or more grid rows are changed. The events are accessible from the Columns and Rows collection respectively. The events are accessible from the Columns and Rows collection respectively.Grid View Collection Changed Event Args shares most properties of Grid View Collection Changing Event Args, besides the Cancel one. Collection Changing is equivalent to Rows Changing event. Collection Changed is equivalent to Rows Changed event.