I’m trying to do some extremely simple data binding, but I can’t find an easy way to do it.
I have a grid, and I want to bind a list of NHibernate objects to the grid. Is there a simple way to add a handful of columns and specify what property they should bind to?
I’ve found I can add a bunch of columns through the designer, but then I have to manually create each row and manually assign each cell its value.
I then found that I could create BoundColumn objects, assign a few properties, then add them to the grid and bind my list that way.
The problem here is that my entity has 15 or 20 columns, and I only want to display 6. I want to use databinding, and I want to configure it through the designer. Is this possible?
Imported from legacy forums. Posted by Dan (had 1580 views)