protected void Button2_Click(object sender, EventArgs e) { ServiceReference1.BancoClient sr = new ServiceReference1.BancoClient(); sr.EliminarEmpleado(int.Parse(txtIdEmpleado.Text)); sr.Operaciones("Elimino empleado", int.Parse(Session["idoperario"].ToString()), DateTime.Now.ToString("yyyy-MM-dd")); }
protected void Button2_Click(object sender, EventArgs e) { ServiceReference1.BancoClient sr = new ServiceReference1.BancoClient(); sr.EliminarEmpleado(int.Parse(txtIdEmpleado.Text)); }