예제 #1
0
 public void employee_clients_delete(int ID)
 {
     employee_clients.Delete(ID);
     Insert_employee_clients_GridView.DataBind();
     Update_employee_clients_GridView.DataBind();
     Delete_employee_clients_GridView.DataBind();
 }
예제 #2
0
 public employee_clients employee_clients_insert()
 {
     employee_clients.client_id   = Convert.ToInt32(Insert_client_id_txt.Text);
     employee_clients.employee_id = Convert.ToInt32(Insert_employee_id_txt.Text);
     employee_clients             = employee_clients.Insert(employee_clients);
     Insert_employee_clients_GridView.DataBind();
     Update_employee_clients_GridView.DataBind();
     Delete_employee_clients_GridView.DataBind();
     return(employee_clients);
 }
예제 #3
0
 public employee_clients employee_clients_update(int ID)
 {
     employee_clients = employee_clients.Select(ID);
     employee_clients.emp_client_id = Convert.ToInt32(Update_emp_client_id_txt.Text);
     employee_clients.client_id     = Convert.ToInt32(Update_client_id_txt.Text);
     employee_clients.employee_id   = Convert.ToInt32(Update_employee_id_txt.Text);
     employee_clients.Update(employee_clients);
     Insert_employee_clients_GridView.DataBind();
     Update_employee_clients_GridView.DataBind();
     Delete_employee_clients_GridView.DataBind();
     return(employee_clients);
 }