通过删除RefreshReport解决:
CustomerReport1.SetParameterValue("CustomerID", txtCustID.Text) CrystalReportViewer1.ReportSource = CustomerReport1