Click here to Skip to main content
15,914,780 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,

I am having a GridView in which only one column is present. It is of Type Hyperlink.

Another one table , I am having name and its path.

Now i want to give the name to the Text of the Hyperlink and the path to the Hyperlink URL.


How can i do this ?

Please help me ...
Posted
Comments
Sandeep Mewara 7-Mar-13 10:11am    
Tried anything so far?

1 solution

Inside the Row_Bound of the GridView,

1) Find the control of the Grid ie Hyperlink.

2) Add the Text to this hyperlink with the column which is having Text

3) Add the NavigateUrl to this hyperlink with the column which is having URL.
 
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