-
Namespaces
Hi, i have a small problem with namespaces when using Asp.Net
The problem is that if i don't use namespaces in my c# files then everything works great, however if i try to put the file inside a namespace, i get this error when trying to build:
Make sure that the class defined in this code file matches the 'inherits' attribute, and that it extends the correct base class (e.g. Page or UserControl)
Now i am almost certain that this because i need to somehow define the .aspx file with the same namespace, and i assume i need to use some directive for that (like <%@ Page Namespace="something"%>) but i can't find which (i've searched over msdn and couldn't find anything there)
is there any1 out there who knows the answer?
tx in advance,
Me
-
Hi
Please Give ur code what u r trying .
Mention what u want to plce which code in which file .
I trying and giving ans. to u.
Similar Threads
-
Replies: 7
Last Post: 01-08-2002, 05:57 AM
-
Replies: 1
Last Post: 10-22-2001, 05:53 PM
-
Replies: 1
Last Post: 01-11-2001, 01:39 PM
-
By Paul Murphy in forum ASP.NET
Replies: 1
Last Post: 11-29-2000, 03:11 PM
-
By Noga Atsil in forum XML
Replies: 1
Last Post: 11-21-2000, 12:04 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks