When the end user clicks on an Edit button that row becomes editable, causing the Edit button to change to Update and Cancel buttons and the other columns to become Text Boxes.
The end user can then update one or more column values and click Update to save their changes. Our first demo will look at how to create an editable Grid View whose data comes from a Sql Data Source.
If anybody else has a better solution I'll welcome any other answers.
The Row Updated event is raised when a row's Update button is clicked, but after the Grid View control updates the row.
before that i want just using Find control and casting and then retrieving all lot code. If values are same they could notify user to change the value(give new cell value).
Every one can use it to compare the new value with old ones.
I also changed the type to Float in the db and Double in the model, but what finally got it working was having the nullable property.
event is raised when a row's Update button is clicked, but before the Grid View control updates the row.
This enables you to provide an event-handling method that performs a custom routine, such as canceling the update operation, whenever this event occurs.
May be you may think why am I using link buttons as we are provided with some command field buttons by Grid View.
Secondly if you want to include a custom field (some button or link) in the same column it’s not possible.