TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Tomas Westerlund
NA
38
32.6k
Fill a DataViewGrid column with HTML links
Dec 11 2012 11:55 PM
Hi,
I have a table and when I query against that table with this query:
SELECT CAST('http://www.mylink.com/directlink.asp?name=' + [SKU] AS XML)
FROM orderLines
I can click on the links in SSMS, however when I use the same query in C# to populate a DataGridView it is just plain text:
new SqlDataAdapter("SELECT [ID], [orderNo] ,[source] ,[itemName], CAST(\'http://www.mylink.com/shops/directlink.asp?name=\' + [SKU] AS XML) as ...
Can some one help me with getting a direct HTML link in the DataGridView as well?
Thanks in advance!
Best regards,
Tomas
Reply
Answers (
0
)
Upload excel from my website to SQL server
how to add comment in xml