Last post May 20, 2015 06:13 PM by epe
May 18, 2015 06:43 PM|epe|LINK
I want to get data from an Access DB into my web app (VS Community 2015RC).
I have a page in my project with a Gridview control that fetches data from an Access DB. Everything works fine except for a hyperlink field.
In the Access DB the field is setup as a hyperlink, but when published in my web page it appears as a text field with the hyperlink data enclosed by #-tags and not as a clickable URL.
I have been struggling with this for some time, so any help would be appreciated from you clever guys
May 19, 2015 02:08 AM|oned_gk|LINK
Use Text column, maybe hyperlink column no deferent in this case
<asp:HyperLinkField DataNavigateUrlFields="FieldName" DataTextField="FieldName" />
DataNavigateUrlFields is used to fill the link url from db, DataTextField to fill the link title
<asp:HyperLinkField DataNavigateUrlFields="LinkUrl" DataTextField="LinkTitle" />
http://forums.asp.net Asp.Net Forum
May 20, 2015 06:13 PM|epe|LINK
This put me on the right track, it now works, and it saved my day - THANKS
Being a rookie in ASP.NET I appreciate all the help I can get. Good to know that there are supporting guys out there.