public void Pet_delete(int ID)
 {
     Pet.Delete(ID);
     Insert_Pet_GridView.DataBind();
     Update_Pet_GridView.DataBind();
     Delete_Pet_GridView.DataBind();
 }
 public Pet Pet_update(int ID)
 {
     Pet = Pet.Select(ID);
     Pet.Pet_Record_ID         = Convert.ToInt32(Update_Pet_Record_ID_txt.Text);
     Pet.Pet_Location_Found_ID = Convert.ToInt32(Update_Pet_Location_Found_ID_txt.Text);
     Pet.Pet_Type_ID           = Convert.ToInt32(Update_Pet_Type_ID_txt.Text);
     Pet.Pet_Vet_ID            = Update_Pet_Vet_ID_txt.Text;
     Pet.Pet_License_Tag       = Update_Pet_License_Tag_txt.Text;
     Pet.Pet_RFID          = Update_Pet_RFID_txt.Text;
     Pet.Pet_Tatoo_No      = Update_Pet_Tatoo_No_txt.Text;
     Pet.Pet_Name          = Update_Pet_Name_txt.Text;
     Pet.Pet_Gender        = Update_Pet_Gender_txt.Text;
     Pet.Pet_Color         = Update_Pet_Color_txt.Text;
     Pet.Pet_Weight        = Convert.ToInt32(Update_Pet_Weight_txt.Text);
     Pet.Pet_Description   = Update_Pet_Description_txt.Text;
     Pet.Pet_Condition     = Update_Pet_Condition_txt.Text;
     Pet.Pet_Status        = Update_Pet_Status_txt.Text;
     Pet.Pet_Date_Of_Birth = Convert.ToDateTime(Update_Pet_Date_Of_Birth_txt.Text);
     byte[] uploaded_picture = Update_Pet_Picture_FileUpload.FileBytes;
     Pet.Pet_Picture    = uploaded_picture;
     Pet.Pet_Sterilized = Update_Pet_Sterilized_txt.Text;
     Pet.Date_Modified  = Convert.ToDateTime(Update_Date_Modified_txt.Text);
     Pet.Date_Created   = Convert.ToDateTime(Update_Date_Created_txt.Text);
     Pet.Update(Pet);
     Insert_Pet_GridView.DataBind();
     Update_Pet_GridView.DataBind();
     Delete_Pet_GridView.DataBind();
     return(Pet);
 }