Onteora Software

Ken Tucker's Blog
posts - 145, comments - 623, trackbacks - 0

Generics

Predicates

Predicates I recently read an article in the MSDN magazine about Predicates and Actions written by Ken Getz. I was thinking that predicates will make it easy to create a master details datagridview for a business object. This example creates 2 classes Customers and Orders. I used the Northwind database to fill a list of customers and a list of orders. I bound one grid to a binding source who's datasource is the list of customers. In the binding sources position changed event I use the list of orders findall method to show all the orders for a customer. The classes...

posted @ Sunday, September 16, 2007 2:52 PM | Feedback (1) | Filed Under [ DataGridView Generics VB ]

Powered by: