Importing a Namespace in a UserControl?

I'm trying to create a User Control in which I have a combobox that needs to access the Business Layer of my application. I tried using the "Imports" statement but my Business Layer (which is a separate project) wasn't one of my options? Is it NOT possible to import a class from another project that is included in the Solution?

Thanks!
BlakeMcKennaAsked:
Who is Participating?
 
Paul JacksonSoftware EngineerCommented:
Have you created a reference to the business layer project in the project that contains the usercontrol you should then be able to use the Imports statement.

Right click the project containing the usercontrol in solution manager and select add reference.
0
 
BlakeMcKennaAuthor Commented:
Actually, you just triggered a thought. My UC is actually a separate project in itself. I just added a reference to that project and that did the trick!

Thanks!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.