Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Namespace error
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Versions des environnements
Environment:
C# 1.1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01041814
Message ID:
01041823
Vues:
25
Linda,

>I have been following your Jump Start exercises for building an order form but changing some things to suit a requisition system I'm working on. In the RequisitionForm.cs, after the using OakLeaf.MM.Main.Windows.Forms, I have a line using RSC.TotalControl.Business, which is the namespace for my business object in requisitions.cs. When I try to run the form, I get an error "The type or namespace name 'TotalControl' does not exist in the class or namespace 'RSC'. What am I missing?

A few things to check

1. Make sure there isn't a typo or casing error in the namespace. The best way to insure this is to go to your business object source code file, copy the namespace, then paste it into a using statement at the top of the form

2. Does your Windows Forms project have a reference to your business project's assembly? Expand your Windows Form's project's References node to see if there is a reference to the business object assembly. If not, right-click the node and add the reference (the easiest way is to go to the Project tab of the Add Reference dialog).

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform