Ejemplo n.º 1
0
 private void employees_table_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
 {
     Form_employees_add form = new Form_employees_add(Convert.ToInt32(employees_table.Rows[e.RowIndex].Cells["emp_id"].Value));
     form.ShowDialog();
     employees_table.refresh(Program.connectionstring);
 }
Ejemplo n.º 2
0
 private void button_add_Click(object sender, EventArgs e)
 {
     Form_employees_add form = new Form_employees_add();
     form.ShowDialog();
     employees_table.refresh(Program.connectionstring);
 }