SetDataSource方法点不出来
错误提示:D:\mes\keyimes\Print\n_techcard.aspx.cs(128): “keyimes.print.n_techcard”并不包含对“SetDataSource”的定义
我在写入oCR后点不出SetDataSource方法。请问是什么原因会出现这样问题?谢谢。
部分代码如下: n_techcard oCR = new n_techcard();
oCR.SetDataSource(ds);
this.CrystalReportViewer1.ReportSource = oCR;