protected void btn_Crear_Multa_Click(object sender, EventArgs e) { try { ServiceReference1.Service1Client servicio = new ServiceReference1.Service1Client(); int monto = Convert.ToInt32(txt_Monto.Text); string descripcion = txt_Descripcion.Text; string rutMulta = txt_rut_Multa.Text; lbl_Estado_Creacion_Multa.Text = servicio.Crear_Multa(monto, descripcion, rutMulta); txt_Monto.Text = string.Empty; txt_Descripcion.Text = string.Empty; txt_rut_Multa.Text = string.Empty; servicio.Close(); } catch (Exception) { lbl_Estado_Creacion_Multa.Text = "Ingrese todos los datos"; } }