Reload window and do PostBack

R

Randy

Hello,
I'm trying to figure out how best to implement a Reset button which will
reload the aspx page (do a PostBack) which will reload the page from an
Oracle database (in the PostBack section).
Can someone tell me how best to do this?

Thanks :)
 
V

Vaibhav

Create a asp:button with runat=server and some Id. Check the Button Id in
PostBack and then change DB accordingly.
 
R

Randy

Actually, I've got the page working fine...populates the page from an Oracle
database. I want to hook up a Reset button that will reload the page, but I
don't know how to make it do a PostBack to the code in the
if(!IsPostBack) section will get executed.
 

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

Top