English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Im trying to build a website in Visual Web Developer (MS) using Asp.Net and SQL, however ive come upon a problem wherein the error says that the term is already defined in the Global Namespace. This problem is what is keeping me from carrying on. Please help!!!

2006-06-08 13:13:48 · 1 answers · asked by chris_p26 3 in Computers & Internet Programming & Design

Details: Name of file is DepartmentList.ascx and is a User Control, not Global.asax. Error says: The namespace '' already contains a definition for 'UserControls_DepartmentList'.

If i change it, it says it is not recognised. Thanx for any more help.

2006-06-08 15:00:44 · update #1

If i change the name of this User Control, it comes up with a new error saying the System.UI is being used as a type and is sposed to be a namespace.

2006-06-08 15:02:36 · update #2

1 answers

I am assuming the problem is in the global.asax page or a class you are naming Global.

One solution is to not be insistent on using the variable name you have chosen. You always have to be flexible with variable and object names, and not be married to the idea they have to have a specific name.

Hunt down the offender (The debugger is surely giving you the line number) and change it.

2006-06-08 13:46:18 · answer #1 · answered by evolver 6 · 0 0

fedest.com, questions and answers