Lets say I have a simple invoice:
Code: Select all
public class Invoice
{
public string ReceiptNumber { get; set; }
public DateTime Time { get; set; }
public CustomerData Customer { get; set; }
public EmployeeData Employee { get; set; }
public IList Items { get; set; }
public IList VatTotals { get; set; }
public IList Payments { get; set; }
}
Code: Select all
StiOptions.Dictionary.BusinessObjects.MaxLevel = 100;
_stiReport.RegBusinessObject("Invoice", "Invoice", _invoice);
So should I use RegData() instead, getting "ugly" databands? As far as I understood from another thread,
RegBusinessObject would also not give me sortable data bands.
So I was wandering, what RegBusinessObject should be used for.
Tobias