You can use
Edit, Update, Cancel CommandField
.
Read
MSDN[
^] article for details on how to use it.
dineshmehra1 wrote:
i m just loosing the newly entered data, even though i had put the grid binding code in side(!ispostback)
After you edit a row, you need to rebind the GridView. So call the function which gets data from the database again.
Hope this helps!