public void vaccine_delete(int ID)
 {
     vaccine.Delete(ID);
     Insert_vaccine_GridView.DataBind();
     Update_vaccine_GridView.DataBind();
     Delete_vaccine_GridView.DataBind();
 }
 public vaccine vaccine_insert()
 {
     vaccine.medicine_id      = Convert.ToInt32(Insert_medicine_id_txt.Text);
     vaccine.Num_of_reg_doses = Convert.ToInt32(Insert_Num_of_reg_doses_txt.Text);
     vaccine.vaccine_name     = Insert_vaccine_name_txt.Text;
     vaccine = vaccine.Insert(vaccine);
     Insert_vaccine_GridView.DataBind();
     Update_vaccine_GridView.DataBind();
     Delete_vaccine_GridView.DataBind();
     return(vaccine);
 }
 public vaccine vaccine_update(int ID)
 {
     vaccine                  = vaccine.Select(ID);
     vaccine.vaccine_id       = Convert.ToInt32(Update_vaccine_id_txt.Text);
     vaccine.medicine_id      = Convert.ToInt32(Update_medicine_id_txt.Text);
     vaccine.Num_of_reg_doses = Convert.ToInt32(Update_Num_of_reg_doses_txt.Text);
     vaccine.vaccine_name     = Update_vaccine_name_txt.Text;
     vaccine.Update(vaccine);
     Insert_vaccine_GridView.DataBind();
     Update_vaccine_GridView.DataBind();
     Delete_vaccine_GridView.DataBind();
     return(vaccine);
 }