这是我的代码
private void Button6_Click(object sender, EventArgs e)
{
string reportPath = "~\\WindowsFormsApplication10\\fullServiceReport.rpt";
ReportDocument fullServiceRpt = new ReportDocument();
fullServiceRpt.Load(reportPath);
fullServiceRpt.SetParameterValue("@cusName", TextBoxCusName.Text);
}
它会像这样发生异常