Example #1
0
 public employee_clients Insert_employee_clients_select(int ID)
 {
     employee_clients            = employee_clients.Select(ID);
     Insert_client_id_txt.Text   = Convert.ToString(employee_clients.client_id);
     Insert_employee_id_txt.Text = Convert.ToString(employee_clients.employee_id);
     return(employee_clients);
 }
Example #2
0
 public employee_clients Delete_employee_clients_select(int ID)
 {
     employee_clients = employee_clients.Select(ID);
     Delete_emp_client_id_txt_lbl.Text = Convert.ToString(employee_clients.emp_client_id);
     Delete_client_id_txt_lbl.Text     = Convert.ToString(employee_clients.client_id);
     Delete_employee_id_txt_lbl.Text   = Convert.ToString(employee_clients.employee_id);
     return(employee_clients);
 }
 public employee_clients Delete_employee_clients_select(int ID)
 {
     employee_clients = employee_clients.Select(ID);
     Delete_emp_client_id_txt_lbl.Text = Convert.ToString(employee_clients.emp_client_id);
     Delete_client_id_txt_lbl.Text = Convert.ToString(employee_clients.client_id);
     Delete_employee_id_txt_lbl.Text = Convert.ToString(employee_clients.employee_id);
     return employee_clients;
 }
Example #4
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);
 }
 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;
 }
Example #6
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);
 }
 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;
 }
Example #8
0
 protected void INSERT(object sender, EventArgs e)
 {
     employee_clients = employee_clients_insert();
 }
Example #9
0
 protected void Insert_Select_Record(object sender, EventArgs e)
 {
     employee_clients = Insert_employee_clients_select(Convert.ToInt32(Insert_employee_clients_GridView.SelectedValue));
 }
Example #10
0
 protected void UPDATE(object sender, EventArgs e)
 {
     employee_clients = employee_clients_update(Convert.ToInt32(Update_employee_clients_GridView.SelectedValue));
 }
 public employee_clients Insert_employee_clients_select(int ID)
 {
     employee_clients = employee_clients.Select(ID);
     Insert_client_id_txt.Text = Convert.ToString(employee_clients.client_id);
     Insert_employee_id_txt.Text = Convert.ToString(employee_clients.employee_id);
     return employee_clients;
 }
 protected void Update_Select_Record(object sender, EventArgs e)
 {
     employee_clients = Update_employee_clients_select(Convert.ToInt32(Update_employee_clients_GridView.SelectedValue));
 }
 protected void UPDATE(object sender, EventArgs e)
 {
     employee_clients = employee_clients_update(Convert.ToInt32(Update_employee_clients_GridView.SelectedValue));
 }
 protected void INSERT(object sender, EventArgs e)
 {
     employee_clients = employee_clients_insert();
 }