Exemple #1
0
        public void CargaGrid(String TipoDoc, String NDoc, String Nombres, String Apellidos, String Telefono1, String Email)
        {
            DataSet   DSDevuelve = new DataSet();
            DataTable DTMain     = new DataTable();
            DataView  DVMain     = new DataView();

            WSLicitaciones.WSLicitaciones WSLic = new WSLicitaciones.WSLicitaciones();
            WSLic.Url = mdlGenerales.DireccionWS + "FazServices/WSLicitaciones.asmx";

            txtTipoDoc.Text       = TipoDoc;
            txtNDoc.Text          = NDoc;
            txtNombres.Text       = Nombres;
            txtApellidos.Text     = Apellidos;
            txtTelefono1.Text     = Telefono1;
            txtEmail.Text         = Email;
            DSDevuelve            = WSLic.DevuelveExpPersonalLicitaciones(mdlGenerales.Conexion, txtTipoDoc.Text.ToString(), txtNDoc.Text.ToString());
            DTMain                = DSDevuelve.Tables[0];
            DVMain                = DTMain.DefaultView;
            GGCPersLiq.DataSource = null;
            GGCPersLiq.TableDescriptor.Reset();
            GGCPersLiq.TableDescriptor.AllowNew = false;
            GGCPersLiq.Refresh();
            GGCPersLiq.DataSource = DVMain;
            FormatColumnas();
            AplicarFilterBar();
        }