I want to add a column to gridview in ASP.NET, this column should contain Hyperlink and i want to navigate to a particular page with the clicked cell value to be passed using the get method.
How to do this in asp.net(C#)?
I can make the element hyperlink, buut how to pass the selected value?
following is my aspx code
<Columns>
<asp:CommandField HeaderText="" ShowEditButton="True" />
<asp:TemplateField HeaderText="Poject Name">
<ItemTemplate>
<asp:HyperLink ID="PROJ_NAME" runat="server" DataNavigateUrlFields="PROJ_NAME" NavigateUrl='<%# "~/SummaryReport.aspx?name=" %>'
Text='<%# Eval("PROJ_NAME") %>' ></asp:HyperLink>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="UPLOADED" HeaderText="Uploaded" ReadOnly="True" />
<asp:BoundField DataField="EXPECTED_DATA" HeaderText="Expected Data" />
<asp:BoundField DataField="CURRENT_DATA" HeaderText="Current Data" ReadOnly="True"/>
<asp:BoundField DataField="COMPLETED" HeaderText="Completed" ReadOnly="True"/>
</Columns>
I am new to ASP.NET, any help will be appreciated.. thanks in advance..