Пример #1
0
        public void CargarReporte(int id)
        {
            DataSet   DSDevuelve = new DataSet();
            DataTable DTMain     = new DataTable();

            this.Left = 0;
            this.Top  = 0;
            WSLicitaciones.WSLicitaciones WSLic = new WSLicitaciones.WSLicitaciones();
            WSLic.Url  = mdlGenerales.DireccionWS + "FazServices/WSLicitaciones.asmx";
            DSDevuelve = WSLic.DevuelveRepOrden(mdlGenerales.Conexion, id.ToString());
            Report.Database.Tables[0].SetDataSource(DSDevuelve.Tables[0]);
            CRVReport.ReportSource = Report;
            CRVReport.Zoom(100);
            CRVReport.Visible = true;
        }