M
Mike P
I have a template field I want to use as a hyperlink. How do I do this?
<asp:TemplateField HeaderText="Company" SortExpression="Name">
<ItemTemplate>
<asp:Label ID="lblCompany" Text='<%#
Eval("Name") %>' runat="server"></asp:Label>
</ItemTemplate>
<ItemStyle Height="24px" Width="100px"
/>
</asp:TemplateField>
<asp:TemplateField HeaderText="Company" SortExpression="Name">
<ItemTemplate>
<asp:Label ID="lblCompany" Text='<%#
Eval("Name") %>' runat="server"></asp:Label>
</ItemTemplate>
<ItemStyle Height="24px" Width="100px"
/>
</asp:TemplateField>