try this:-
private void HeaderCheckGv_RowDataBound(object sender,
GridViewRowEventArgs e)
{
if(e.Row.RowType == DataControlRowType.DataRow)
{
GridView grdChildGrid=(GridView)e.Row.FindControl("ChildCheckGv");
CheckBox chkBox=(CheckBox)grdChildGrid.Row.FindControl("ChildCheckGv");
bool chkValue = Convert.ToBoolean(chkBox.Value);
}
}
I hope this will help you out. Please don't forget to mark this as your answer :)