?
Solved

Importing a Namespace in a UserControl?

Posted on 2014-01-10
2
Medium Priority
?
229 Views
Last Modified: 2014-01-10
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!
0
Comment
Question by:BlakeMcKenna
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
Paul Jackson earned 2000 total points
ID: 39772016
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
 

Author Closing Comment

by:BlakeMcKenna
ID: 39772044
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question