Hi
I'm getting an email address out of a database using the following....
I'm then trying to read the value into a mailto doing this on the aspx side...
Its not working - but then I don't know what I'm doing! Any help appreciated.
Thanks
I'm getting an email address out of a database using the following....
Code:
Me.SqlConnection1.Open()
dtrCabinetEmail = Me.SqlComm_SelectCabinetEmail.ExecuteReader
If dtrCabinetEmail.Read Then
Email = dtrCabinetEmail("committee_email")
Me.lblEmail.Text = "" & Email & ""
End If
Me.SqlConnection1.Close()
I'm then trying to read the value into a mailto doing this on the aspx side...
Code:
<a href=mailto:<asp:Label id="lblEmail" runat="server"></asp:Label></a>
Thanks