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.

Leave a Reply

  1. subbass online dating 14-Aug-2017 14:42

    Pada awal balapan mobil berlangsung, aktifkan cheat "Mobil Terbang", maka mobil-mobil rival anda akan beterbangan kemana-mana tak tentu arah.

  2. Completely free online sex chat and strip 12-Dec-2017 17:09

    Check out our endless sections rife with sizzling-hot tits.

  3. Free adult sexual chat random websites 28-Jul-2017 16:40

  4. recherches augustiniennes online dating 08-Jul-2017 13:50

    You’re a better trophy on her arm than the man who can’t dance. You’ll know more about a person after three minutes of dancing compared to three minutes of conversation.