public void requestor_delete(int ID)
 {
     requestor.Delete(ID);
     Insert_requestor_GridView.DataBind();
     Update_requestor_GridView.DataBind();
     Delete_requestor_GridView.DataBind();
 }
 public requestor requestor_insert()
 {
     requestor.EncounterID    = Convert.ToInt32(Insert_EncounterID_txt.Text);
     requestor.Requestor_Type = Insert_Requestor_Type_txt.Text;
     requestor.MobilUnitID    = Convert.ToInt32(Insert_MobilUnitID_txt.Text);
     requestor.PersonID       = Convert.ToInt32(Insert_PersonID_txt.Text);
     requestor.AgencyID       = Convert.ToInt32(Insert_AgencyID_txt.Text);
     requestor = requestor.Insert(requestor);
     Insert_requestor_GridView.DataBind();
     Update_requestor_GridView.DataBind();
     Delete_requestor_GridView.DataBind();
     return(requestor);
 }
 public requestor requestor_update(int ID)
 {
     requestor                = requestor.Select(ID);
     requestor.RequestorID    = Convert.ToInt32(Update_RequestorID_txt.Text);
     requestor.EncounterID    = Convert.ToInt32(Update_EncounterID_txt.Text);
     requestor.Requestor_Type = Update_Requestor_Type_txt.Text;
     requestor.MobilUnitID    = Convert.ToInt32(Update_MobilUnitID_txt.Text);
     requestor.PersonID       = Convert.ToInt32(Update_PersonID_txt.Text);
     requestor.AgencyID       = Convert.ToInt32(Update_AgencyID_txt.Text);
     requestor.Update(requestor);
     Insert_requestor_GridView.DataBind();
     Update_requestor_GridView.DataBind();
     Delete_requestor_GridView.DataBind();
     return(requestor);
 }