Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > import namespace not working in 2005!

Thread Tools

import namespace not working in 2005!

Posts: n/a
Hi everyone!

In 2003, I was using for example:

<%@ import namespace="" %>
and later I could access all mynamespace's classes from the aspx page
(separate from code behind):

<%= myclass.mymethod %>

while in 2005 I can only use full qualifiers, like:

<%= %>

The second one works in 2005,
but not the first!
Why is that?

Thanks in advance!

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
import parser does not import in same dir on win Joel Hedlund Python 2 11-11-2006 03:46 PM
why "import namespace=" ..." if not necessary? Chris ASP .Net 3 05-10-2006 06:42 PM
ERROR CS0234: The type or namespace name 'DataAccessHelper' does not exist in the namespace 'BCC' (are you missing an assembly reference?) ASP .Net 0 01-06-2006 11:31 AM
procedure to add web reference which will not create new namespace just add class in existing namespace. Deep Mehta via .NET 247 ASP .Net Web Services 2 05-31-2005 05:05 AM
IMPORT STATIC; Why is "import static" file scope? Why not class scope? Paul Opal Java 12 10-10-2004 11:01 PM