
Signature
Val Mazur
Microsoft MVP
http://xport.mvps.org
> Please HELP! I am a total beginner. I have a web application that queries
> a
[quoted text clipped - 15 lines]
>
> i will provide all the source if needed PLEASE HELP!!!!!!
I think it might be something else... when you program a button to do this
operation in .aspx, (update the database) does the page reload? If so, how
do you specify for the page not to reload. I think it might be some of the
code that is in the Page_Onload Sub, otherwise, i agree, update should be
working in this case, (that's what the book says..)
thanks!!
> Hi,
>
[quoted text clipped - 22 lines]
> >
> > i will provide all the source if needed PLEASE HELP!!!!!!
Val Mazur (MVP) - 28 Apr 2005 02:52 GMT
Hi,
OnLoad event of the pages fires each time when you do postback. In your case
if button causes postback, then page will be reloaded. What you could do to
check Page.IsPostBack property in this event. If this is True, then do not
load data again from the database

Signature
Val Mazur
Microsoft MVP
http://xport.mvps.org
>I think it might be something else... when you program a button to do this
> operation in .aspx, (update the database) does the page reload? If so,
[quoted text clipped - 38 lines]
>> >
>> > i will provide all the source if needed PLEASE HELP!!!!!!
Steve Newbie - 29 Apr 2005 18:04 GMT
Okay, thanks.
If at the end of the sub, if i choose to response.redirect, will this stop
the postback?
I am not entirely sure.
thanks again for the help.
> Hi,
>
[quoted text clipped - 45 lines]
> >> >
> >> > i will provide all the source if needed PLEASE HELP!!!!!!
Val Mazur (MVP) - 30 Apr 2005 02:55 GMT
It should

Signature
Val Mazur
Microsoft MVP
http://xport.mvps.org
> Okay, thanks.
>
[quoted text clipped - 65 lines]
>> >> >
>> >> > i will provide all the source if needed PLEASE HELP!!!!!!