i wanna make sure that the user only inserts an integer positive number in the query string.
i captured the query string in a string but i wanna validate on it:
string pidstr = Request.QueryString["pid"];
View Complete Post
First I will say I googled (Binged to make Bill happy) for this but could not find anything, perhaps I am not stating what I need correctly;
I have a website that a customer creates orders (for a printing company) and after the order, I would like to email the customer a link to view the status of their order;
I need to send the CustomerID in the link so on the returning page if a CustomerID is detected in the querystring, I "auto login" the client and open the "Dashboard" for the order page for that customer.
Can anyone point me in the right direction as to how to send the link and how to parse the querystring to get the values from the link;
Thank you if you can point me in the right direction.
hi all,how do i add a new parameter to an existing query string?http://sample.aspx/SessionHandler.aspx?pub=/english&pageurl=/page1.aspx§ion=searchengine&seldcity=berlin&selacity=lux&selddate=15-Dec-10&seladate=29-Dec-10&resultby=1&j=fnow i need to add a new parameter say, showsearch.
I've read that if you put a validation control on a page it performs the validation on the client AND server side.
My question is, if you've got a button's click event and you put code in there that puts submitted data into a database, how will the validation controls stop the data being inserted?
Is validation simply performed before anything else, then the page just stops?