Environment: LLBLGenPro 2.0 - SelfServicing
I am databinding to an Infragistics UltraCombo component. I don't have any problems databinding using TypedLists, but databinding with EntityCollections is a problem. Below is a sample of my code. I don't get any error messages, but the program hangs on the
"cboSelectInvoices.DataSource = invoiceHeaders;" statement. I know from the debugger that there are 113 records in invoiceHeaders. Any feedback would be appreciated.
InvoiceHeaderCollection invoiceHeaders = new InvoiceHeaderCollection();
SortExpression sorter = new SortExpression(InvoiceHeaderFields.InvoiceNo | SortOperator.Ascending);
invoiceHeaders.GetMulti( null, 0, sorter, null);
// Bind the combo to a data source.
cboSelectInvoices.DataSource = invoiceHeaders;
cboSelectInvoices.DataMember = "";