Everytime I make changes to the form the IDE adds the form namespace to the
Dataset , TableAdapter objects in the designer code. In order to run the
application I have to remove the namespace only for it to add the namespace
again when I edit the form again.
This is a windows application using VS 2005.
Below is example of what the IDE is generating and the error messages it
causes.
If I remove the MedError it compiles and runs.
I edit the MedError form and it adds the MedError namespaces to all the
dataset and table adapters.
Auto generated designer code:
...
this.dsLivedb = new MedError.dsLivedb();
...
this.sp_VisitForAcctTableAdapter = new
MedError.dsLivedbTableAdapters.sp_VisitForAcctTableAdapter();
...
Error 1 'MedError.MedError.dsLivedb' is a 'field' but is used like a
'type' C:\Proj5\Win\MedError\MedError.Designer.cs 76 42 MedError
Error 2 The type name 'dsLivedbTableAdapters' does not exist in the type
'MedError.MedError' C:\Proj5\Win\MedError\MedError.Designer.cs 84 61 MedError

Signature
Thanks,
Mark
mikael.palmblad@gmail.com - 25 Sep 2006 14:40 GMT
Hello!
I have the exact same problem. Please someone heeEeEEElp us!
masmith - 25 Sep 2006 15:09 GMT
I ended up changing the namespace used by the dataset and that seem to
resolve the problem. It seemed to not like using the default namespace name.

Signature
Mark
> Hello!
>
> I have the exact same problem. Please someone heeEeEEElp us!