protected void btn_pagos_Click(object sender, EventArgs e) { if (txt_dni.Text.Trim().Length == 0) { lbl_aviso.Text = "Ingrese el Dni del cliente"; return; } DataTable dt_tmp; ServiceReference1.Service1Client x = new ServiceReference1.Service1Client(); dt_tmp = x.get_Deuda_Pagos_x_Dni_Deuda(txt_dni.Text.Trim(), int.Parse(txt_iddeuda.Text.Trim())); gv_Detalle.DataSource = dt_tmp; gv_Detalle.DataBind(); x.Close(); lbl_aviso.Text = ""; lbl_Tit_Det.Text = "Informacion Detalle : Pagos Realizados del Cliente"; }