how to pass more than one paramiter in querystring in ASP.Net

Last Reply on Mar 25, 2015 05:24 AM By Mudassar

Posted on Mar 25, 2015 01:22 AM

i have one hyperlink i want to pass morethen one paramiter in hyperlink

but cant pass perfect data in query string 

using database.

same data pass in another page using this code.

code 

 <asp:HyperLinkField DataNavigateUrlFields="Product_Id" Target="_blank" DataNavigateUrlFormatString="AddprodPhoto.aspx?Product_Id={0}&Catalog_Id={0}" Text="Upload">                                                                  

o/p

http://localhost:9265/AddprodPhoto.aspx?Product_Id=2&Catalog_Id=2

product_id pass right Catalog_Id=2 is wrong

You are viewing reply posted by: Mudassar on Mar 25, 2015 05:24 AM.