public agency_employees Insert_agency_employees_select(int ID) { agency_employees = agency_employees.Select(ID); Insert_agency_id_txt.Text = Convert.ToString(agency_employees.agency_id); Insert_employee_id_txt.Text = Convert.ToString(agency_employees.employee_id); return(agency_employees); }
public agency_employees Delete_agency_employees_select(int ID) { agency_employees = agency_employees.Select(ID); Delete_agency_empl_id_txt_lbl.Text = Convert.ToString(agency_employees.agency_empl_id); Delete_agency_id_txt_lbl.Text = Convert.ToString(agency_employees.agency_id); Delete_employee_id_txt_lbl.Text = Convert.ToString(agency_employees.employee_id); return(agency_employees); }
public agency_employees Delete_agency_employees_select(int ID) { agency_employees = agency_employees.Select(ID); Delete_agency_empl_id_txt_lbl.Text = Convert.ToString(agency_employees.agency_empl_id); Delete_agency_id_txt_lbl.Text = Convert.ToString(agency_employees.agency_id); Delete_employee_id_txt_lbl.Text = Convert.ToString(agency_employees.employee_id); return agency_employees; }
public agency_employees agency_employees_insert() { agency_employees.agency_id = Convert.ToInt32(Insert_agency_id_txt.Text); agency_employees.employee_id = Convert.ToInt32(Insert_employee_id_txt.Text); agency_employees = agency_employees.Insert(agency_employees); Insert_agency_employees_GridView.DataBind(); Update_agency_employees_GridView.DataBind(); Delete_agency_employees_GridView.DataBind(); return(agency_employees); }
public agency_employees agency_employees_insert() { agency_employees.agency_id = Convert.ToInt32(Insert_agency_id_txt.Text); agency_employees.employee_id = Convert.ToInt32(Insert_employee_id_txt.Text); agency_employees = agency_employees.Insert(agency_employees); Insert_agency_employees_GridView.DataBind(); Update_agency_employees_GridView.DataBind(); Delete_agency_employees_GridView.DataBind(); return agency_employees; }
public agency_employees agency_employees_update(int ID) { agency_employees = agency_employees.Select(ID); agency_employees.agency_empl_id = Convert.ToInt32(Update_agency_empl_id_txt.Text); agency_employees.agency_id = Convert.ToInt32(Update_agency_id_txt.Text); agency_employees.employee_id = Convert.ToInt32(Update_employee_id_txt.Text); agency_employees.Update(agency_employees); Insert_agency_employees_GridView.DataBind(); Update_agency_employees_GridView.DataBind(); Delete_agency_employees_GridView.DataBind(); return(agency_employees); }
public agency_employees agency_employees_update(int ID) { agency_employees = agency_employees.Select(ID); agency_employees.agency_empl_id = Convert.ToInt32(Update_agency_empl_id_txt.Text); agency_employees.agency_id = Convert.ToInt32(Update_agency_id_txt.Text); agency_employees.employee_id = Convert.ToInt32(Update_employee_id_txt.Text); agency_employees.Update(agency_employees); Insert_agency_employees_GridView.DataBind(); Update_agency_employees_GridView.DataBind(); Delete_agency_employees_GridView.DataBind(); return agency_employees; }
protected void INSERT(object sender, EventArgs e) { agency_employees = agency_employees_insert(); }
protected void Insert_Select_Record(object sender, EventArgs e) { agency_employees = Insert_agency_employees_select(Convert.ToInt32(Insert_agency_employees_GridView.SelectedValue)); }
protected void UPDATE(object sender, EventArgs e) { agency_employees = agency_employees_update(Convert.ToInt32(Update_agency_employees_GridView.SelectedValue)); }
public agency_employees Insert_agency_employees_select(int ID) { agency_employees = agency_employees.Select(ID); Insert_agency_id_txt.Text = Convert.ToString(agency_employees.agency_id); Insert_employee_id_txt.Text = Convert.ToString(agency_employees.employee_id); return agency_employees; }
protected void Update_Select_Record(object sender, EventArgs e) { agency_employees = Update_agency_employees_select(Convert.ToInt32(Update_agency_employees_GridView.SelectedValue)); }
protected void UPDATE(object sender, EventArgs e) { agency_employees = agency_employees_update(Convert.ToInt32(Update_agency_employees_GridView.SelectedValue)); }
protected void INSERT(object sender, EventArgs e) { agency_employees = agency_employees_insert(); }