Data Source being cleared upon loading IDE

  • Thread starter Thread starter David
  • Start date Start date
D

David

I am having a problem with a Datasource connection being broken each time I
start the IDE in VB.NET 2003.

I have a database with 4 tables. On the form are 4 listboxes with each of
their data source properties set to one of the 4 tables and the required
field selected in each display member.

The program runs fine and I can start and stop debugging without any issues.
If I deploy the project and run the installed application, it also runs
fine.

When I close the IDE and reopen it, all of the listboxes have the display
member still set correctly and 3 of the 4 listboxes have the dataset set
properly but this one particular listbox (it is always the same one) now has
the data source set to none ???

Any ideas what I may have set up wrong to cause this type of behaviour ?

Thanks
 
David,

I don't understand much from your message, however what I would do first was
have a look at the designer created code. (Opening with the +) If there is
there some orphaning code).

I hope this helps?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top