|
-
October 15th, 2008, 11:27 AM
#9
Re: Error: type or namespace name could not be found
Thanks for your help. This is pretty frustrating and I need to get this to compile this morning if possible so if anyone has experienced this and can help me, I sure would appreciate it!
When I right click on the class name and select "Go to definition", I get this error: "Cannot navigate to MyDataContext"
How do I fix this so the page knows it's there? The odd thing is that the pages all work fine. I just can't do a new compile.
Here's the code again that throws the error:
public partial class settings : System.Web.UI.Page
{
MyDataContext mydata = new MyDataContext(); (the error is on the first MyDataContext on this line)
This happens with any class that references the MyDataContext.
Please help if you can!! Thanks a ton!
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
|
Click Here to Expand Forum to Full Width
|