Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Still with not working Module! 3

Status
Not open for further replies.

qwert231

Programmer
Sep 4, 2001
756
US
Okay, so I created a new Web, completely from scratch, completely from within VS. I go, add a new module file, paste my code in, create my web form, paste my code in. Visual Studio hasn't given me any errors, in fact, if I right click on the module function in my web form, and click go to definition, it opens my module file, so visual studio sees my module okay.

When I go to my browser, and access that web form, I get the message:
Name 'newWebNum' is not declared.

This is really starting to bug me, cause VS isn't telling me what's up. It says it's okay.
 
make sure you put the namespace that seniors is in for the inherits part.

Usually it defaults to the name of the project, so if your project is called "DoThis" then put

Inherits="DoThis.seniors"

that *might* fix it

D
 
Hmmm... how can I specify what Namespace it is in? See, in another post, for another problem, I turned the web's namespace off, or blank. Can I specify a Namespace for just that file?
 
I went back to localhost as the namespace for the web, and specified that it look for localhost.classname (classname as specified in the codebehind). Nada.
 
Why does it say:
Could not load type 'localhost.lRollReorder'.

What does it mean by type?
 
Everybody gets a star, cause you were all helpful. Thank you. It has been resolved. Check this thread:
thread855-376314
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top