473,385 Members | 2,274 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Name <whatever> not declared?!?!?! Aaargh!!

Building a simple ASP.Net page under VS '03 (Visual Basic) with methods
defined on a "code-behind" page, and I keep getting a "Name <whatever> is
not declared" on each of the method invocations. Am I missing some kind of
DECLARE or USES here (even tho the PAGE directive includes the CODEBEHIND
clause)??

This is probably real simple, but what the HECK is going on here?!?!? :)
Jack
Nov 18 '05 #1
2 941
Let's see some code and the error that you get.
"Jack Black" <ja*************@hotmail.com> wrote in message
news:em**************@tk2msftngp13.phx.gbl...
Building a simple ASP.Net page under VS '03 (Visual Basic) with methods
defined on a "code-behind" page, and I keep getting a "Name <whatever> is
not declared" on each of the method invocations. Am I missing some kind of DECLARE or USES here (even tho the PAGE directive includes the CODEBEHIND
clause)??

This is probably real simple, but what the HECK is going on here?!?!? :)
Jack

Nov 18 '05 #2
Declaring a variable/field:

Dim s As String
Private DS As DataSet
Public d As Double

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.
"Jack Black" <ja*************@hotmail.com> wrote in message
news:em**************@tk2msftngp13.phx.gbl...
Building a simple ASP.Net page under VS '03 (Visual Basic) with methods
defined on a "code-behind" page, and I keep getting a "Name <whatever> is
not declared" on each of the method invocations. Am I missing some kind of DECLARE or USES here (even tho the PAGE directive includes the CODEBEHIND
clause)??

This is probably real simple, but what the HECK is going on here?!?!? :)
Jack

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dan Jacobson | last post by:
Using <A name="x_y-z"></A>, I even get nervous about the _ and -. w3-recs/RECS/html4/struct/links.html seems to say all of ascii is cool and beyond. Anyway, just what is the safe range for...
1
by: Derek | last post by:
I am writing a web application for job seekers, and am adding a section that allows administrators to upload jobs to the system via xml. I have used an xml schema to validate the xml they upload....
2
by: TJS | last post by:
it says the name is not declared, but it is how can I fix this ? Compiler Error Message: BC30451: Name 'arrReportsList' is not declared. ========================== if...
10
by: Zak | last post by:
I've been working on converting one of the major sites in my company to ASP. net. I started with the migration assistant from Microsoft, which may or may not have been a good idea. It worked OK...
13
by: Don | last post by:
How do I get an Enum's type using only the Enum name? e.g. Dim enumType as System.Type Dim enumName as String = "MyEnum" enumType = ???(enumName)
0
by: kevtayproj | last post by:
The problem I'm seeing is that I can declare a variable and assign it a value at the top of my .aspx page. When I call the variable at the bottom of the page, I'm getting an error message that the...
5
by: bulldog8 | last post by:
I've read numerous posts and have tried multiple approaches that I found, but just cannot get a file renamed. I am using VB.Net 2002 ... Here is what I have tried: 1) Code common to all...
3
by: marylipscomb | last post by:
I have a question about my asp.net application. It tells me that Name 'lblMessage' is not declared. Description: An error occurred during the compilation of a resource required to service this...
4
by: =?Utf-8?B?Vmlj?= | last post by:
Hi, I am getting "Name objDR is not declared" error. I am declaring objDR in the if then else section. How do I over come this issue. Thanks for the help. Dim objDS As New...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.