Click here to Skip to main content
15,918,976 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
can anyone tell me how to use the hyperlinks in asp.net.

i have some catagories.. and on clicking the catagory the page wil show the products in that catagory..

i want to do it without using asp.net buildin datasource
Posted

If you are using a GridView you must use a datasource of some kind. Search for master/detail and you will find plenty of examples
 
Share this answer
 
What data source you are binding with your gridview ? You can either use GridViewHyperlink field or Template Field for showing the hyperlink with in gridview.
 
Share this answer
 
used this tag

<asp:HyperLinkField Text="View" DataNavigateUrlFormatString="custeomer.aspx?customerid={0}" DataNavigateUrlFields="customerid" />
 
Share this answer
 
v2

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