or
Report7
objreport1 = new Report7();
ReportBookControl1.Reports.Add(objreport1);
then I got an error :
The best overloaded method match for 'System.Collections.ObjectModel.Collection<Telerik.ReportViewer.WebForms.ReportInfo>.Add(Telerik.ReportViewer.WebForms.ReportInfo)' has some invalid arguments
so I cannot view anything in reportviewer.
so how to add my report to the reportbook control ?
Please help me .it is urgent
thanks
sindu.
01.public class OrderTotalContainer02.{03. public List<OrderTotal> OrderTotals { get; set; }04.}05. 06.public class OrderTotal07.{08. public DateTime Date { get; set; }09. public Int64 ImportedCount { get; set; }10. public List<DispatchCount> DispatchCounts { get; set; }11. public Int64 TotalDispatches { get; set; }12.}13. 14.public class DispatchCount{15. public string Courier { get; set; }16. public Int64 Count { get; set; }17.}