コード例 #1
0
        private void CargaGrilla(int indice)
        {
            DataTable table = ConsultasEspecificas.ConsultaDatosGrillaDomicilios(
                txtRut.Text,
                txtNroOperacion.Text,
                ddlCliente.SelectedValue
                );

            if (table != null && table.Rows.Count > 0)
            {
                Session["snomdeudor"] = table.Rows[0]["nomdeudor"].ToString();
                Session["srutdeudor"] = table.Rows[0]["rut_deudor"].ToString();
            }

            Grilla.PageIndex  = indice;
            Grilla.DataSource = table;
            Grilla.DataBind();
        }