M
Martin Hazell
I have had a form within a project that has been tested
and working for the past 4-5 months. The other day, I
decided to change all of my database connection strings
into a dynamic property for a few reasons.
All was OK until testing a particular form, and I got a
strange error when opening it whilst running, and I got
an exception stating that the dataset I was using to fill
a table was not initialised.
I opened the form and I noticed that all of the datasets
that I had in the designer had dissapeared!!! I then
tried to recreate them through the dataadapter, but I
just kept getting "Unspecified Error". I changed the
connection string back from a dynamic property into the
string it originally was and it still didn't work.
The named datasets still appear on in the code page, but
they do not appear within the "Windows Forms" code run
when initialising.
Bringing a form in from a backup still doesn't seem to
work either!
Thanks
Martin
and working for the past 4-5 months. The other day, I
decided to change all of my database connection strings
into a dynamic property for a few reasons.
All was OK until testing a particular form, and I got a
strange error when opening it whilst running, and I got
an exception stating that the dataset I was using to fill
a table was not initialised.
I opened the form and I noticed that all of the datasets
that I had in the designer had dissapeared!!! I then
tried to recreate them through the dataadapter, but I
just kept getting "Unspecified Error". I changed the
connection string back from a dynamic property into the
string it originally was and it still didn't work.
The named datasets still appear on in the code page, but
they do not appear within the "Windows Forms" code run
when initialising.
Bringing a form in from a backup still doesn't seem to
work either!
Thanks
Martin