J
jobs at webdos
I have form with a checkbox with autopostback. When I click on the form
I want to update a table with the boolean and stamp a datatime field,
then come back and display *EXACTLY* what is in the db for the boolean
and datetime field. I've tried every combination testing ispostback and
forcing postbacks with return. I either end up having to click twice or
am finding that what's on screen is not matching the db.
Presuming the checkbox is autopostback and that I have a sub called
refresh() to refresh form fields with current data and have a sub
called update() to load *curent* form data into data.. how do I
accomplish this basic task.
Also, what's the best way to force postback from asp.net? return?
How do I overrider Page_Unload?
I want to update a table with the boolean and stamp a datatime field,
then come back and display *EXACTLY* what is in the db for the boolean
and datetime field. I've tried every combination testing ispostback and
forcing postbacks with return. I either end up having to click twice or
am finding that what's on screen is not matching the db.
Presuming the checkbox is autopostback and that I have a sub called
refresh() to refresh form fields with current data and have a sub
called update() to load *curent* form data into data.. how do I
accomplish this basic task.
Also, what's the best way to force postback from asp.net? return?
How do I overrider Page_Unload?