A
Arvan
hi,all.
i wanna use Eval("DataField") to bind datarow in item template of GridView.
for example:
<asp:Label runat="server" id="Label1" text='<%# Eval("DataField")
%>'><asp:Label>
but how to use eval with control HyperLink?
<asp:HyperLink runat="server" id="email" NavigateUrl='mailto:<%#
Eval("Email") %>'>Email</asp:HyperLink>
Please watch property NavigateUrl.when i use mailto,there is no syntax
error.but i debug it , i saw that hyperlink's navigateurl didn't bind
datafield Email.how to use eval with mailto?
i wanna use Eval("DataField") to bind datarow in item template of GridView.
for example:
<asp:Label runat="server" id="Label1" text='<%# Eval("DataField")
%>'><asp:Label>
but how to use eval with control HyperLink?
<asp:HyperLink runat="server" id="email" NavigateUrl='mailto:<%#
Eval("Email") %>'>Email</asp:HyperLink>
Please watch property NavigateUrl.when i use mailto,there is no syntax
error.but i debug it , i saw that hyperlink's navigateurl didn't bind
datafield Email.how to use eval with mailto?