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.
 

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

Similar Threads

Namespace confusion 1
C#/Mono namespaces 3
Namespace question 2
CSharp demo 3
Compiler Error when using VB Namespace 3
Microsoft.Data.sqlXml 2
LinkedListLibrary 2
How to connect two classes in a namespace? 6

Back
Top