Making a colum hyperling on the fly in ASP.Net

  • Thread starter Thread starter genc_ymeri
  • Start date Start date
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.
 
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

Back
Top