Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mere Mortals and StrataFrame: Strongly Typed Columns
Message
From
24/01/2007 10:44:51
 
 
To
24/01/2007 10:05:47
James Hansen
Canyon Country Consulting
Flagstaff, Arizona, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01188485
Message ID:
01188707
Views:
20
>BusinessBindingSource seems to be some sort of undocumented internal class. How would that help?

I don't know about it being an "undocumented internal class". It is very much a necessary and important class in the SF armoury. You should see the BusinessBindingSource in the SF toolbox. If you have a DataGridView and you would like to use a businessobject as its datasource, all you do is drop a BusinessBindingSource on the form, and like I said before, point the BusinessBindingSource at the businessobject and the DataGridView at the BusinessBindingSource. This is the *only* way in StrataFrame to correctly bind objects like DataGridViews to business objects.

>I was going to start another thread in which I would mention that SF does not have a control derived from the base DataGridView to enable the same quality of binding to BOs that other controls such as Textbox enjoy. Are you suggesting that I need to implement their data binding in my own subclass of the base DataGridView?

Nope. I am suggesting that you use a BusinessBindingSource. There is only a single relevant property that it provides - "BusinessObject". Select the business object from list of business objects it shows you and then point the DataGridView, via its DataSource property at the BusinessBindingSource. It is very, very easy to use this component. In fact, I was somewhat instrumental in the development of this component and the development I was working on provided a thorough testbed for it.
-=Gary
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform