public void case_intake_delete(int ID) { case_intake.Delete(ID); Insert_case_intake_GridView.DataBind(); Update_case_intake_GridView.DataBind(); Delete_case_intake_GridView.DataBind(); }
public case_intake case_intake_insert() { case_intake.applic_end_date_time = Convert.ToDateTime(Insert_applic_end_date_time_txt.Text); case_intake.applic_start_date_time = Convert.ToDateTime(Insert_applic_start_date_time_txt.Text); case_intake.circum_emergency_event = Insert_circum_emergency_event_txt.Text; case_intake.circum_help_request_memo = Insert_circum_help_request_memo_txt.Text; case_intake.circum_income_stolen = Insert_circum_income_stolen_txt.Text; case_intake.circum_memo = Insert_circum_memo_txt.Text; case_intake.circum_no_income = Insert_circum_no_income_txt.Text; case_intake.circum_not_enough_income = Insert_circum_not_enough_income_txt.Text; case_intake.agency_id = Convert.ToInt32(Insert_agency_id_txt.Text); case_intake.call_center_id = Convert.ToInt32(Insert_call_center_id_txt.Text); case_intake = case_intake.Insert(case_intake); Insert_case_intake_GridView.DataBind(); Update_case_intake_GridView.DataBind(); Delete_case_intake_GridView.DataBind(); return(case_intake); }