How to use created class?

L

Lasse Edsvik

Hello

I was wondering if you guys could tell me how to "include" a class that i've
built that inherits System.Data?

I should write something in the preprocessor thingy in top? :)

I use C#

/Lasse
 
H

Hans Kesting

Lasse said:
Hello

I was wondering if you guys could tell me how to "include" a class
that i've built that inherits System.Data?

I should write something in the preprocessor thingy in top? :)

I use C#

/Lasse

If that class is in a different project, you need to add a reference to that
project in your "project references". I think you also need a reference
to System.Data.
You don't /need/ a "using" statement, that only saves you from typing
the complete namespace.

Hans Kesting
 

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


Top