import namespace not working in 2005!

G

Guest

Hi everyone!

In asp.net 2003, I was using for example:

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

<%= myclass.mymethod %>

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

<%= mycompany.services.mynamespace.myclass.mymethod %>

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

Thanks in advance!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,046
Latest member
Gavizuho

Latest Threads

Top