Jump to content
Abbasi

Hyperlink Column in SQL Server

Recommended Posts

I need to include a column in an SQL Server table, which can hyperlink to some text stored somewhere inside or outside the same database.My ultimate goal is that when I view the table in a control, DataGrid for example, and click that link, it should take me to the destination link or open the linked file.Please help.R. A. Abbasi

Share this post


Link to post
Share on other sites
I need to include a column in an SQL Server table, which can hyperlink to some text stored somewhere inside or outside the same database.My ultimate goal is that when I view the table in a control, DataGrid for example, and click that link, it should take me to the destination link or open the linked file.Please help.R. A. Abbasi

Go to datagrid properties builder and u can format ur columns over there. drawback to this is. U have to make sure the links are right in your sqlserver database. U can also set your target as _blank to open in a new page.I dont remember the exact options which you have .. but u have a hyperlink column over there. If you are still stuck . let me know i can help you with a sample.btw.. is this a datagrid control for webpage?

Share this post


Link to post
Share on other sites

Yes, this is the DatatGrid. Unfortunately, I could not find any property relating to this feature - in DataGrid, its TableStyles or the GridColumnStyles properties.Seeking further help.

Share this post


Link to post
Share on other sites
Yes, this is the DatatGrid. Unfortunately, I could not find any property relating to this feature - in DataGrid, its TableStyles or the GridColumnStyles properties.Seeking further help.

Do you have Visual Studio.net editor ?Properties builder > columns > hyperlink columns

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...