<asp:GridView ID="gridViewSiteAdmins" AutoGenerateColumns="false" runat="server" EnableModelValidation="True" > <Columns> <asp:BoundField HeaderText="Name" DataField="Name" /> <asp:BoundField HeaderText="Email" DataField="Email" DataFormatString="<a href=mailto:{0}>{0}</a>" HtmlEncodeFormatString="false" /> </Columns> </asp:GridView>
By the way, there are other routes you can use to do this, but I thought I'd at least give you one that works well for me.
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.