P
Paul [Paradise Solutions]
Scenario:
Windows Project created with two forms frm1 and frm2. frm2 accesses a
database and self populates 2 combo boxes.
When happy with operation of frm2, add a new project to the solution and
move frm2 to new project. Add references to sqlce, system.data,
system.data.common
Problem:
Project now complains that "Namespace or type 'Data' in the
project-level Imports 'System.Data' cannot be found."
Adding "Imports System.Data" to the form does not cure this, and it only
occurs after the reference to System.Data is added. If I run the
project, I get warnings that there were build erors, but the project
still deploys to PDA fine, and runs AND successfully carries out DB look
up and combo box population.
Any input would be apprieciated on how to clear the Namespace error.
Many thanks
Paul
Windows Project created with two forms frm1 and frm2. frm2 accesses a
database and self populates 2 combo boxes.
When happy with operation of frm2, add a new project to the solution and
move frm2 to new project. Add references to sqlce, system.data,
system.data.common
Problem:
Project now complains that "Namespace or type 'Data' in the
project-level Imports 'System.Data' cannot be found."
Adding "Imports System.Data" to the form does not cure this, and it only
occurs after the reference to System.Data is added. If I run the
project, I get warnings that there were build erors, but the project
still deploys to PDA fine, and runs AND successfully carries out DB look
up and combo box population.
Any input would be apprieciated on how to clear the Namespace error.
Many thanks
Paul