protected void btConfirmar_Click(object sender, EventArgs e) { ServiceReference2.WebService1SoapClient nn = new ServiceReference2.WebService1SoapClient(); int matricula = string.IsNullOrEmpty(TextBoxCodConferente.Text) ? 0 : Convert.ToInt32(TextBoxCodConferente.Text); long pedido = string.IsNullOrEmpty(TextBoxNumero.Text) ? 0 : Convert.ToInt64(TextBoxNumero.Text); nn.ConfirmaConferenciaAutomatica(pedido, matricula); this.GridView1.DataBind(); DesabilitarBotoes(); TextBoxCodConferente.Text = ""; TextBoxConferente.Text = ""; TextBoxNumero.Text = ""; }