What you want to do is print the email into the page.
I am assuming that you are using ASP.NET
Firstly, if you want to run server script from your page code, you need to wrap it in
<% ... %>
tags.
So, if I wanted to write something into the page I would have:
- <td style='width:200px;font-size: 12px ;border:solid 1px #ddd2c7; background-color:#fcfaf7; font-family:Verdana;' >
-
<a href=" <%response.write(d["Email"])%>"></a>
-
</td>
However, there is a shorthand syntax for printing something into the page:
<%= ... %>
. The following accomplishes the same thing:
- <td style='width:200px;font-size: 12px ;border:solid 1px #ddd2c7; background-color:#fcfaf7; font-family:Verdana;' >
-
<a href=" <%=d["Email"]%>"></a>
-
</td>
Now, the above code is pretty "old school".
If you are using ASP.NET Razor or even MVC, the syntax is a bit different.
Happy coding
-Frinny