databound column to hyper link column

Discussion in 'ASP .Net Datagrid Control' started by susan, Jan 8, 2004.

  1. susan

    susan Guest

    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,
     
    susan, Jan 8, 2004
    #1
    1. Advertising

  2. Use a TemplateColumn

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

    Hussain
     
    S. Hussain Akbar, Jan 12, 2004
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Meheraj shaik via .NET 247

    Hyper link in Datagrid

    Meheraj shaik via .NET 247, May 28, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    2,511
  2. k-re
    Replies:
    1
    Views:
    1,728
    Tim S.
    Jun 25, 2003
  3. Hyper Link in DataGrid

    , Mar 3, 2006, in forum: ASP .Net
    Replies:
    3
    Views:
    496
    Patrick.O.Ige
    Mar 3, 2006
  4. Yann.K
    Replies:
    9
    Views:
    340
    Nemesis
    Sep 8, 2004
  5. Jonathan  Ellis

    Re: open default MUA with a hyper link

    Jonathan Ellis, Sep 3, 2004, in forum: Python
    Replies:
    2
    Views:
    312
    Thierry S.
    Sep 6, 2004
Loading...

Share This Page