Why do I keep loosing BO in the IDE data source?


Author
Message
Ben Hayat
Ben Hayat
Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)Advanced StrataFrame User (946 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
I list my BOs in the "DataSource" pane for field referencing. But I keep loosing BOs in the datasource and I have to go back and add them again. I can't find any pattern as what I do, that the IDE looses the BO.



Has anyone run into this and has any solution?



Thanks!

..ßen
Replies
Larry Caylor
Larry Caylor
StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)StrataFrame VIP (1.8K reputation)
Group: Awaiting Activation
Posts: 592, Visits: 3.7K
Just thought I'd pass along an issue I ran into when adding BOs the data source pane that may save someone else some time and frustration. I had added a number of BOs using the data source wizard early on in my current project. Recently I added a form that includes a BO, BusinessBindingSource and Infragistics grid. When I tried to select a data source for the grid, VS instantly crashed with no error messages. Since I've been having some designer problems with VS lately it took awhile to find the cause of the problem. But after some serious swearing and keyboard poundingCrazy, I remembered the objects in the data source pane and deleted them; problem solved. The objects that were added were not wrapped by BusinessBindingSource, which may make a difference but I haven't had the time to play around with it to see what happens.

-Larry

StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
If you add a raw business object to the Data Sources pane, I can see where it would cause problems, because it doesn't implement IList.  However, adding a BusinessBindingSource that wraps a business object shouldn't cause you any problems, since it implements IList and IBindingList, etc.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search