public void Pet_Vaccine_delete(int ID)
 {
     Pet_Vaccine.Delete(ID);
     Insert_Pet_Vaccine_GridView.DataBind();
     Update_Pet_Vaccine_GridView.DataBind();
     Delete_Pet_Vaccine_GridView.DataBind();
 }
 public Pet_Vaccine Pet_Vaccine_insert()
 {
     Pet_Vaccine.Vaccine_Type_ID     = Convert.ToInt32(Insert_Vaccine_Type_ID_txt.Text);
     Pet_Vaccine.Allergies           = Insert_Allergies_txt.Text;
     Pet_Vaccine.Current_Medacations = Insert_Current_Medacations_txt.Text;
     Pet_Vaccine.Last_Vaccine_Given  = Convert.ToDateTime(Insert_Last_Vaccine_Given_txt.Text);
     Pet_Vaccine.Date_Time_Stamp     = Convert.ToDateTime(Insert_Date_Time_Stamp_txt.Text);
     Pet_Vaccine = Pet_Vaccine.Insert(Pet_Vaccine);
     Insert_Pet_Vaccine_GridView.DataBind();
     Update_Pet_Vaccine_GridView.DataBind();
     Delete_Pet_Vaccine_GridView.DataBind();
     return(Pet_Vaccine);
 }
 public Pet_Vaccine Pet_Vaccine_update(int ID)
 {
     Pet_Vaccine = Pet_Vaccine.Select(ID);
     Pet_Vaccine.Pet_Vaccine_ID      = Convert.ToInt32(Update_Pet_Vaccine_ID_txt.Text);
     Pet_Vaccine.Vaccine_Type_ID     = Convert.ToInt32(Update_Vaccine_Type_ID_txt.Text);
     Pet_Vaccine.Allergies           = Update_Allergies_txt.Text;
     Pet_Vaccine.Current_Medacations = Update_Current_Medacations_txt.Text;
     Pet_Vaccine.Last_Vaccine_Given  = Convert.ToDateTime(Update_Last_Vaccine_Given_txt.Text);
     Pet_Vaccine.Date_Time_Stamp     = Convert.ToDateTime(Update_Date_Time_Stamp_txt.Text);
     Pet_Vaccine.Update(Pet_Vaccine);
     Insert_Pet_Vaccine_GridView.DataBind();
     Update_Pet_Vaccine_GridView.DataBind();
     Delete_Pet_Vaccine_GridView.DataBind();
     return(Pet_Vaccine);
 }