protected void Button2_Click(object sender, EventArgs e) { ServiceReference1.BancoClient sr = new ServiceReference1.BancoClient(); sr.CrearOperario(int.Parse(txtIdOperario.Text), txtSueldo.Text, txtUsuario.Text, txtContraseña.Text, int.Parse(DropDownList1.SelectedValue.ToString())); sr.Operaciones("Se registro Operario", int.Parse(Session["idoperario"].ToString()), DateTime.Now.ToString("yyyy-MM-dd")); }