I am working on this code linked at "http://www.aspsnippets.com/Articles/Crystal-Report-Dynamic-DataSource-Crystal-Report-without-Database-connection-in-ASPNet-using-C-and-VBNet.aspx".
I am getting an error on the code line
List<TextObject> textObjects = crystalReport.ReportDefinition.Sections["Section2"].ReportObjects.OfType<TextObject>().ToList();
Error: The type or namespace name 'List' could not be found (are you missing a using directive or an assembly reference?)
I have tried with both following references but no use.
using CrystalDecisions.ReportSource;
using CrystalDecisions.CrystalReports.Engine;