Posted on: 1/16/2014 8:58:09 PM | Views : 677

Hi,
In Gridview  column id which is hyperlinkfield in gridview.When user clicks on the id colum value want to display his data  from database  in Timesheet3.aspx.Any examples please? Where  to write select command.
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" Height="267px" Width="1170px" AllowPaging="True" > <RowStyle BackColor="#EFF3FB" /> <Columns> <asp:HyperLinkField DataTextField="EmpID" HeaderText="TimesheetID" DataNavigateUrlFields="EmpID" DataNavigateUrlFormatString="Timesheet3.aspx?id{0}" SortExpression="EmpID"/> <asp:BoundField DataField="EmpName" HeaderText="EmpName" ...

Go to the complete details ...