P
Phillip Vong
Please help a newbie.
Newbie using VS2005 and ASPX.
I have page1.aspx and page2.aspx. Page2 is using FormView and in the
EditItem Template, I want people to be redirected to page1.aspx after they
have updated the data to the DB.
In the UpdateButton_Click, I used the simple Response.Redirect
("page1.aspx"). The problem is that the UpdateButton_Click takes priority so
it just redirects me to page1.aspx withouth updating the DB. How do I get it
to update the DB first and then redirect me to page1.aspx?
I created a simple test example and I have the code here:
http://pastebin.com/755938
Thanks in advance.
Phil
Newbie using VS2005 and ASPX.
I have page1.aspx and page2.aspx. Page2 is using FormView and in the
EditItem Template, I want people to be redirected to page1.aspx after they
have updated the data to the DB.
In the UpdateButton_Click, I used the simple Response.Redirect
("page1.aspx"). The problem is that the UpdateButton_Click takes priority so
it just redirects me to page1.aspx withouth updating the DB. How do I get it
to update the DB first and then redirect me to page1.aspx?
I created a simple test example and I have the code here:
http://pastebin.com/755938
Thanks in advance.
Phil