List<clsAppointments> objListCli = new List<clsAppointments>();
for (int x = 0; x < grdview.Rows.Count; x++)
{
CheckBox chkDoc = (CheckBox)grdview.Rows[x].FindControl("chkDoc");
if (chkDoc.Checked)
{
objListCli.Add(objApp);
}
}
if (objListCli.Count > 0)
{
// add to database
}