Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > databound column to hyper link column

Reply
Thread Tools

databound column to hyper link column

 
 
susan
Guest
Posts: n/a
 
      01-08-2004
i have a number of databound columns, how do i convert one of them
into a hyper link column, while still populating the data from the
database?

thanks,
 
Reply With Quote
 
 
 
 
S. Hussain Akbar
Guest
Posts: n/a
 
      01-12-2004
Use a TemplateColumn

<asp:TemplateColumn>
<ItemTemplate>
<asp:HyperLink id="MyLink"
Text='Click here'
NavigateUrl='http://www.mysite.com'
runat="server" />
</ItemTemplate>
</asp:TemplateColumn>

Hussain


 
Reply With Quote
 
 
 
Reply

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
databound custom controls vs composite databound custom controls rodchar ASP .Net 0 11-26-2007 03:51 PM
templated databound control problem - not showing databound Manu ASP .Net Web Controls 0 05-22-2006 09:46 AM
Hyper Link in DataGrid aroraamit81@gmail.com ASP .Net 3 03-03-2006 01:09 PM
Hyper link in Datagrid Meheraj shaik via .NET 247 ASP .Net 1 07-19-2005 10:36 AM
Re: Datagrid and hyper link question? k-re ASP .Net 1 06-25-2003 01:54 PM



Advertisments