コード例 #1
0
        private void CargaGridOs()
        {
            WSLicitaciones.WSLicitaciones WSLic = new WSLicitaciones.WSLicitaciones();
            WSLic.Url = mdlGenerales.DireccionWS + "FazServices/WSLicitaciones.asmx";

            DSDevuelveOs = WSLic.DevuelvePersonalOs(mdlGenerales.Conexion, lblIDooss.Text.ToString());
            //DSDevuelveOs = WSLic.DevuelvePersonalLicitaciones(mdlGenerales.Conexion);
            DTMainOs = DSDevuelveOs.Tables[0];
            DVMainOs = DTMainOs.DefaultView;
            GGCPersOsl.DataSource = null;
            GGCPersOsl.TableDescriptor.Reset();
            GGCPersOsl.TableDescriptor.AllowNew = false;
            GGCPersOsl.Refresh();
            GGCPersOsl.DataSource = DVMainOs;
            FormatColumnasOs();
            AplicarFilterBarOs();
        }