Namespace

  • Thread starter Thread starter Alan
  • Start date Start date
A

Alan

I create a project defined all cs files in our namespace, eg.
office.target.classlibrary
office.target.classlibrary.client1

Then I added a new item, ie DatSet.
Compile and got the error
"The type or namespace name 'DataSet1' could not be found (are you missing a
using directive or an assembly reference?)

I tried to modify the app.config to add the name space but no luck.
 
Hi,

Where DataSet1 is declared?

What about using the complete name?

Also if in a different namespace try a "using " clause
 
I right click the project in solution explorer. Add new item, ie. dataset in
my project. So the dataset is declared in my project.
 
Back
Top