Postback handling

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

Hi,

I have a button on my form that does save some stuff in a database. I would like to set some information before saving in the DB. Is it possible to have an event that fires before the postback?

Thanks
Mike
 
Hi Mike,
Why don't you use the postback event to set the information you want and then the button clicked event to save them to the DB (if that is what you mean). The postback event (or page load event) is handled before the button clicked event.
Hope this helps...
Maro

Hi,

I have a button on my form that does save some stuff in a database. I would like to set some information before saving in the DB. Is it possible to have an event that fires before the postback?

Thanks
Mike
 
Back
Top