Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > How do I add an anchor to a boundcolumn?

Thread Tools

How do I add an anchor to a boundcolumn?

Posts: n/a
I have a simple DataGrid and on one of the asp:boundcolumn tags I want
to underline with a link everything in that column. From that link I
will then open a page. How do I add a link around the boundcoulumn?
I tried a regular anchor tag, but got an error about it not being part
of the DataGrid control.

I am still migrating from old ASP to .NET, so forgive my ignorance. I
have searched to no avail. Thank you.


<a href="http://mysite.aspx?test=hello"><asp:boundcolumn ....></a>
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
add anchor to url Aamir Ghanchi ASP .Net 3 07-09-2007 03:12 PM
Datagrid - add anchor tags ASP .Net 0 02-27-2006 09:46 PM
anchor question Mike P ASP .Net 1 08-05-2003 12:14 PM
moving to an anchor point programmatically Craig Phillips ASP .Net 2 07-03-2003 01:32 PM