Hi everyone. I have a form which has some fields... For example TextField1 TextField2 TextField3 TextField4 TextField5 I want to include only one search button in the page that will go to appropriate page. Right now what I do is I collect the form values in
a session variable and then response.redirect to my search page. I don't think it is the proper way to do it.. Dim frmorder As String Session("frmorder") = Request.Form("order_num") Response.Redirect("display_order_detail.aspx") Also, the above sub only works
for a specific button, I want to include one singe button that will automatically send the page to the correct page. I hope I was clear in my question. If not please let me know.
Yaheya Quazi
Director, Admin. Comp. & Systems
University of California, Merced
yaheya
Participant
1635 Points
340 Posts
Form Submission Question
Aug 11, 2003 04:45 PM|LINK
Director, Admin. Comp. & Systems
University of California, Merced
Michael.G.
Participant
1180 Points
236 Posts
Re: Form Submission Question
Aug 12, 2003 11:36 AM|LINK
Server.Transfer("detailpage.aspx", True)The "True" will preserve the querysting and from collection. CheersWebmaster of a small ISP :-)
All my code suggestions are and will be written in VB.net