Click here to Skip to main content
15,904,339 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi friends..i used gridview hyperlink field,using query string i was pass the values to another page.Here can i hide the querystring in url? is it possible? plz suggest me....

<asp:HyperLinkField DataNavigateUrlFields="Companyid, CompanyName,ProductCode,Quantity,Soldshare"
       DataNavigateUrlFormatString="Purchaseproduct.aspx?CID={0}&CName={1}&PC={2}&Qty={3}&Sldsre={4}" Text="Pass Multiple Values"/>


*Here post method and previouspagetype directive not working
Posted
Updated 5-Sep-13 20:59pm
v2

1 solution

you can encrypt query string but cannot hide from the url because from there you are accessing the value of that one in another page

query string is always useful for the passing values to another page we are using that one and encrypting values


if you still want's to hide then user sessions its best idea you can also use cookies but that will be a hacking issues also there is previous page control that can also access value from previous page


regards...:)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900