I cannot see why this will not show as a link on my page. I hover over the text and it is not a hyperlink.
Any Ideas?
Dim dtr As SqlDataReader
Dim Select As String
Dim ConnectStr As String = _
ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString
Dim Con As New SqlConnection(ConnectStr)
Dim MyCommand As SqlCommand
Try
Con.Open()
Select = "Select FromEmail FROM tblMyTable"
MyCommand = New SqlCommand(Select, Con)
dtr = MyCommand.ExecuteReader()
If dtr.HasRows Then
dtr.Read()
hlEmail.NavigateUrl = String.Concat("mailto:", dtr.Item("FromEmail").ToString())
Else
'do nothing
End If
Catch objException As SqlException
Dim objError As SqlError
For Each objError In objException.Errors
...
Go to the complete details ...