Populating ASPX with links
-
Hi, I am grabbing data from a database and displaying it onto ASPX pages. I want to grab the "ID" column and have every ID listed within that table on the aspx page as a link. How can I do that without having to manually create the link myself 400 times? I also use C# to run this website. Any ideas? Thanks! Jane
-
Hi, I am grabbing data from a database and displaying it onto ASPX pages. I want to grab the "ID" column and have every ID listed within that table on the aspx page as a link. How can I do that without having to manually create the link myself 400 times? I also use C# to run this website. Any ideas? Thanks! Jane
Quick way to do it is to program the HTML in the query itself. I.e. Selec
'[Click Here](www.codeproject.com?ID=')'
FROM Some_Table And then bind that to the grid. A hack for sure but it works. -
Quick way to do it is to program the HTML in the query itself. I.e. Selec
'[Click Here](www.codeproject.com?ID=')'
FROM Some_Table And then bind that to the grid. A hack for sure but it works.