Error CS0103: The name 'DataSet' does not exist in the current context

Hi,

First time user. I've setup my report nicely. It runs and previews perfectly in the Community designer.  Then I try to run it from C# code and it just gives the following error. 

Error CS0103: The name 'DataSet' does not exist in the current context


I'm not registering data, but I shouldn't have to if it's all setup in the report, correct? I've checked the Databand, and checked the XML. All looks fine. Created a new report using the Wizard, same issue. 


Report report = new Report();

report.Load("C:\\temp\\untitled.frx");

report.Prepare();


Thanks

Leave a Comment