Sqldatasource updating event args
@Frinavale Now I get the answer your mean is that when we bind the data at page load event.the view state is already loaded with previous value & that value again saved in a view state so the same data is displayed again & again whether you edit the data in a grid view or not. other thing i want to know what about the load postback event that is also fire between pageprerender & page load .
This makes the data in your Grid View is available in the Page Load event...including data entered by the user.When this event fired it saves the values at their view state & this view state is sent to the client. NET controls used to access the data in your C#/VB. If you do a Data Bind in the Page Load event then all of this data is lost!Edit: if you do a Data Bind in the Page Load event every page request all of your data will be lost It's the most common problem that people have with Grid Views that I've noticed.If you do a Data Bind in your Page Load event every page request (without checking if is Postback is False) then you will be overwritting anything that the user provided.BUT this information that I'm telling you does not matter to you because you don't care about anything the user has entered into the Grid View for editing.