Customers Virt Demo

This sample demonstrates the binding of a GridDataBoundGrid (GDBG) with custom collections. The GDBG can be bound to any collection derived from the IList interface.

In this sample, the customer list is derived from the IBindingList. This gives you additional control over adding, editing, and removing records from a list. The customer list itself contains references to the nested objects. These child nodes can be expanded or collapsed inside the grid.

This sample also demonstrates having unbound columns with the customer-objects fields.

 

 CustomersVirt screenshot

Features

Unbound1” concatenates the customer’s ID, first name, and last name. “Unbound2” shows the record's position in the collection. These columns are added to the grid in the Form_Load event handler.