Use in web crystal reports. First need to be introduced in the .aspx.cs file: using crystaldecisions.crystalreports.Engine; create a .xsd file and .rpt file, .xsd file is actually mapping in the DataSet created in .sspx.cs. (You can add, modify). Then in the .aspx.cs file, ReportDocument Ocr = NULL; DataSet DS = DATA.GETDATASET (); OCR = new r_standardauditprint (); Ocr.SetDataSource (DS); CRVMAINVIEW.REPORTSOURCE = OCR; ///crystaldecisions.web. CrystalReportViewer CRVMAINVIEW Report Browser Next, you need to pay attention to it, in the .aspx text, set some properties of CrystalReportViewer,