添加一个窗体,在上面添加一个CrystalReportViewer控件。DataSet ds1;
CrystalReport1 oRpt=new CrystalReport1();
.....
DataAdapater1.Fill (ds1, "Table");
oRpt.SetDataSource (ds1);
/* bind report object with data to the Windows Forms Viewer */
this.myCrystal.ReportSource = oRpt; 希望对你有帮助,也希望给分,让我向二角进军!