Making a colum hyperling on the fly in ASP.Net

G

genc_ymeri

Hi,
I have a web datagrid which returns back results from different dataset
tables. I would like for some specific fields in each table to create on the
fly a hyperlink based on the returned value eg [ID_Sales= 121212] in that
specific column("ID_Sales").

Any tip is very much appreciated,
Genc.
 
J

Joey

You could do a placeholder control inside of a template column. Then
insert the needed hyperlinks in the ItemDataBound event.

You could also just place hyperlinks there to start with, and in the
ItemDataBound event hide the ones you don't want to show.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,231
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top