omar wrote:
Frans... how would do that.. by looping through a collection and filling a data table or is there another way I don't know about
Directly from the database?
Adapter:
// get all customers in a datatable. If you need a filter, just specify it as a 3rd parameter
// to FetchTypedList
CustomerEntity c = new CustomerEntity();
DataTable customers = new DataTable();
adapter.FetchTypedList(c.Fields, customers, null);
SelfServicing:
DataTable customers = CustomerCollection.GetMultiAsDataTable(null, 0, null);