Month

Your search for 12/2006 returned 5 results.


ObjectListView Update (1.0.0.6)

Note: You can download the complete implementation here. The DataGridView New Row When you set the DataGridView property AllowUserToAddRows to true (and the IBindingList data source AllowNew property is also true), an empty row will be displayed at the bottom of the grid. In an earlier posting, I described how the IBindingList method AddNew() supports this "new ...

Read More


Code-Based Filtering in ObjectListView

Note: You can download the complete implementation here. In previous posts, I presented ObjectListView, my implementation of a DataView-like class for arbitrary business objects. It allows you to bind a DataGridView (and other controls) to an IList of your choice. As an IBindingListView implementation, ObjectListView supports the Filter property, which allows you ...

Read More


Custom sorting in the DataGridView

How do I control the sort order for a column in the DataGridView? This question comes up when the "natural" order of the sorted data is at odds with the user's expectation.  Let's say that you have a customer table with a customer program column.  This column indicates the customer rewards level for a loyalty program.  For our example, the possible values ...

Read More


ObjectListView Update (1.0.0.3)

Note: You can download the complete implementation here. Stable Sorts Pat Dooley asked about making the ObjectListView sorting mechanism stable, an excellent point.  This means that list items with sort keys that compare as equal should appear in the same order each time for a given sort.  Pat also provided a sample implementation, so I took up the challenge ...

Read More


ObjectListView Demo: Master/Details

In the latest release of ObjectListView, I included a new demo that illustrates some fine points in real-world data binding with DataGridView.  Namely, binding a list (in this case our ObjectListView) to the grid and binding the current list item (i.e. current grid row) to some other data entry controls.  I also wanted to show how to manage the current grid row ...

Read More