473,386 Members | 1,647 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,386 software developers and data experts.

protected System.Web.UI.WebControls VS5 is removing

Hi,

I seem to be getting a lot of error messages regarding "The Name "whatever"
does not exist in the current context" after Visual Studio 5 converts an
older version of C# files. The name "whatever" existed before Visual Studio
removed the "protected System.Web.UI.WebControls DataList "whatever"; and the
"protected System.Web.UI.WebControls Label "whatever". Do I just put them
back in the file or does Visual Studio 5 have some other way to get around
that and allow me to use the information I need? I should be able to get a
clean compile after this is cleared up.

Thanks!!!

--
Message posted via http://www.dotnetmonster.com

Jul 17 '07 #1
4 1207
What is Visual Studio 5? .NET wasn't even around back then.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"CdnRebel via DotNetMonster.com" <u35447@uwewrote in message
news:754c7e4ce165e@uwe...
Hi,

I seem to be getting a lot of error messages regarding "The Name
"whatever"
does not exist in the current context" after Visual Studio 5 converts an
older version of C# files. The name "whatever" existed before Visual
Studio
removed the "protected System.Web.UI.WebControls DataList "whatever"; and
the
"protected System.Web.UI.WebControls Label "whatever". Do I just put them
back in the file or does Visual Studio 5 have some other way to get around
that and allow me to use the information I need? I should be able to get
a
clean compile after this is cleared up.

Thanks!!!

--
Message posted via http://www.dotnetmonster.com

Jul 17 '07 #2
Nicholas Paldino [.NET/C# MVP] wrote:
>What is Visual Studio 5? .NET wasn't even around back then.
>Hi,
[quoted text clipped - 12 lines]
>>
Thanks!!!
Sorry, I pulled an all-nighter and have yet to get some sleep. That should
have been Visual Studio 2005 and because I wanted to finish quickly, I just
replaced the protected lines that Visual Studio 2005 took out on the basis,
that they are not going to know what we need in our code.

Thanks!!
Mary

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...sharp/200707/1

Jul 17 '07 #3
When you performed the conversion of the files, did you make a backup?
Also, did the report that was produced at the end tell you that some files
couldn't be converted?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"CdnRebel via DotNetMonster.com" <u35447@uwewrote in message
news:75504b0b82e94@uwe...
Nicholas Paldino [.NET/C# MVP] wrote:
>>What is Visual Studio 5? .NET wasn't even around back then.
>>Hi,
[quoted text clipped - 12 lines]
>>>
Thanks!!!
Sorry, I pulled an all-nighter and have yet to get some sleep. That
should
have been Visual Studio 2005 and because I wanted to finish quickly, I
just
replaced the protected lines that Visual Studio 2005 took out on the
basis,
that they are not going to know what we need in our code.

Thanks!!
Mary

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...sharp/200707/1

Jul 17 '07 #4
Nicholas Paldino [.NET/C# MVP] wrote:
>When you performed the conversion of the files, did you make a backup?
Also, did the report that was produced at the end tell you that some files
couldn't be converted?
>>>What is Visual Studio 5? .NET wasn't even around back then.
[quoted text clipped - 13 lines]
>Thanks!!
Mary
Hi,
I did make a back up and I don't remember whether it said that it couldn't
convert some files. But I have since deleted the most recent backup. Right
now I am trying get a clean compile and trying to figure out how to get the
missing file created that it's using for the Code Behind for some of the ASP.
Net files. See the next post in the C# forum list.

Thanks,
Mary

--
Message posted via DotNetMonster.com
http://www.dotnetmonster.com/Uwe/For...sharp/200707/1

Jul 17 '07 #5

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

Similar topics

3
by: eti | last post by:
Hi, In visual studio .NET, i can't add to references the system.web.UI.webcontrols. I can't find it also in my computer.
1
by: Arjen | last post by:
Hello, Does somebody haves a solution for this? Thanks! Line 74: if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) {
4
by: Brian Lowe | last post by:
I have several aspx pages that include a couple of asp:placeholder controls, an example is myPage.aspx. The page inherits from a custom class 'myClass' which inherits System.Web.UI.Page which...
0
by: hansiman | last post by:
I sometimes see references to controls that has been removed from the aspx page in the code behind. The references linger in the region "Web Form Designer Generated Code" and look like Protected...
3
by: Brano | last post by:
HI all, I have a problem i have a web application that was working fine and this morning when i run it and click on a button that does Reponse.Redirect to a page i get this error : Server...
6
by: Tim Cartwright | last post by:
I have a page that has the login control on it, nothing else. This page inherits from a master page, neither page has any code in it. This page works perfectly when running on the WebDev debug web...
0
by: Jim Duffie | last post by:
Hi, I am trying to build a simple websire using the above in Visual Web Developer. When finished I have build the website and it works fine locally but when I FTP it to the server I am getting a...
3
by: Neal | last post by:
Hi all Why do I get a compiler error with the following code. Friend Class SomeClass End Class Public Class SomePublicClass Protected Friend Function AMethod As SomeClass
2
by: thithi | last post by:
Server Error in '/Assignment' Application. -------------------------------------------------------------------------------- Specified cast is not valid. Description: An unhandled exception...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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,...

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.