Hi,
i have a custom bean like:
public class OrderForReport
{
private int iD;
private string totalCost, totalPrice;
private ArrayList products=new ArrayList();
//Get - Set methods.
}
First i'm filling products array like:
ArrayList products=new ArrayList();
products.add(new Product()); // Just for example
//And after filling this bean in an arraylist like:
ArrayList data=new ArrayList();
OrderForReport order=new OrderForReport();
order.Products=products;
data.add(order); // Just for example
.
.
.
i'm digging for two or three days and found nothing.
How can i bind this to crystalReport like:
ReportDocument report = new ReportDocument();
string reportPath = Server.MapPath("Reports/ClassicOrderReport.rpt");
report.Load(reportPath);
report.SetDataSource(data);
reportViewer.ReportSource = report;
Go to the complete details ...