Friday, August 08, 2003 4:18 PM (New!) I have a very weird problem I hope someone can help me out with. Im calling a detail form using a primary key ID and a user entered value. These two values are put into the URL, they both appear in the detail form and
I have a query which uses the ID key value, this all works fine. I want to display the user entered value in a message box on the detail screen, so I've put some code into the Page_Load event as below protected void Page_Load(object sender, EventArgs E) {
MESSAGEQTY.Text = (Request.QueryString["TheQty"]); } no matter what I do, the MESSAGEQTY.Text property never gets the value from "TheQty" I've tried reading the first querystring value and that displays ok ! Anyone know whats going on ??? ** this is how im
populating the querystring from the master page Response.Redirect("OrderConfirmation.aspx?TheID=" + Server.UrlEncode(MainPageDataSet.FieldValue("ID", null)) + "&?TheQty=" + Server.UrlEncode(value.Trim())); **This is the URL value on the detail page http://localhost/No1Events/OrderConfirmation.aspx?TheID=10&?TheQty=99
thank you very, very much for that !!!! I've spent almost an entire afternoon trying to figure this one out, sometimes its just a case of not seeing the wood for the trees !! :-) regards Mark.
misuk11
Participant
1608 Points
1280 Posts
Request.Querystring
Aug 08, 2003 03:27 PM|LINK
JerryK@PikeO...
Participant
1170 Points
234 Posts
Re: Request.Querystring
Aug 08, 2003 03:43 PM|LINK
misuk11
Participant
1608 Points
1280 Posts
Re: Request.Querystring
Aug 08, 2003 03:50 PM|LINK