protected void btnReturn_Click1(object sender, EventArgs e)
 {
     lblStatus.Text = "";
     foreach (GridViewRow row in GridView1.Rows)
     {
         CheckBox cb = (CheckBox)row.FindControl("ckbSelBook");
         if (cb.Checked)
         {
             IssueDAL issueDAL = new IssueDAL();
             //update database when issued book is returned.
             issueDAL.UpdateBook(Convert.ToInt16(row.Cells[1].Text));
             lblStatus.Text = "Returned Successfully";
         }
     }
 }