JCWEBHOST
asked on
select first item in a gridview
Hey guys i need to get the first item in my gridview, which is a hyperlink and make the hyper link class to avtive.
here my aspx page:
i need c# code please...
i am binding my gridview with c# code.
here my aspx page:
<asp:GridView ID="GridView" runat="server" GridLines="None" ShowHeader="False" AutoGenerateColumns="False" HorizontalAlign="Center">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<table cellpadding="0" cellspacing="0" style="width: 210px;">
<tr>
<td class="middle">
<asp:HyperLink ID="HyperLink" runat="server" ToolTip='<%# Bind("title") %>' Text='<%# Bind("short_title") %>' NavigateUrl='<%# Eval("id", "~/Projects.aspx?id={0}") %>'></asp:HyperLink>
</td>
</tr>
</table>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
i need c# code please...
i am binding my gridview with c# code.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.