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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top