OT: Problems binding to datasource

OT: Problems binding to datasource

Old forum URL: forums.lhotka.net/forums/t/1939.aspx


albruan posted on Sunday, December 10, 2006

What would cause the IDE to blow up when I try to associate a BindingSource with a control?  I thought it was just a one-time deal the first time it happened this evening, but it's happened twice more when I try to bind the same control to a BindingSource.

xal replied on Sunday, December 10, 2006

Sometimes the Datasources List gets "corrupted". VS doesn't handle that well.
It may happen for several reasons, like renaming or removing a class that was already within your datasources.
Try to remove all files from the Datasources folder. You can find it inside "<project path>\My Project".
You may have to close and reopen VS after doing so.

Andrés

albruan replied on Monday, December 11, 2006

That was precisely the problem.  Thanks for the tip, Andrés!

Copyright (c) Marimer LLC