Firstly , we have to write this in the Default.aspx file <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" DataKeyNames="Id"
Firstly , we have to write this in the Default.aspx file
<
After that we have to write this code in .aspx.cs file of GridView1_SelectedIndexChanged
{
string
InsHdrID = GridView1.DataKeys[r.RowIndex].Value.ToString();
PopulateInspectionDetails(InsHdrID);
}
So,we have to this into .aspx file
<ItemTemplate>