Databinding problem
Old forum URL: forums.lhotka.net/forums/t/5137.aspx
TremoToT posted on Wednesday, July 23, 2008
Hello
I hope this is the right place for my question:
I'm having trouble binding my business entities as datasources. In the Data Source Configuration Wizard, I chose the Object I want to bind to. Then, before I even press the "Next" button to add the datasource, the wizard just closes and the datasource is not added.
The weird thing is that I can add some datasources, but not all. And the datasources I can't add, are datasources that I previously has been added, but then they mysteriously dissapeared from the datasources list.
This makes thigs very hard for me, since I cant add new properties to my forms and reportViewer. Is there anyone who knows what to do to fix this, or a workaround so I at least can get acces to my properties so I can add them to my forms and ReportViewer?
TremoToT
TremoToT replied on Thursday, July 24, 2008
Thanks for trying to help, but it did't help me, since I don't get the datasource control to appear at all.
TremoToT
triplea replied on Friday, July 25, 2008
Did you by any chance change the class name or namespace? That causes a lot of grief when selecting datasources (and usually kicks you out of the wizard). Maybe the best thing to do is the following:
- Delete all datasources from your project
- Delete all your project dll files
- Add a new user control and add a bindingsource
- 1 by 1 add all your previously used datasources
Hope this helps
Copyright (c) Marimer LLC