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

Reference Needed for "ASP"

What reference am I missing in the following code:

public static CheckKey Parse(TextBox BankRouting, TextBox Account, TextBox
Amount, TextBox CheckNum, ASP.controls_dateselector_ascx PaymentDate, Label
CheckName)
The error on Publish is

The type or namespace name 'controls_dateSelector_ascx' does not exist in
the namespace 'ASP' (are you missing an assembly reference?)

This same code "Builds" with no errors.

Thanks,

Mike Ober.


Jun 11 '07 #1
3 1201
what i don't understand is why you are passing entire instances of controls
into your method, when most likely all you need is their values? e.g.,

public static CheckKey Parse(BankRouting.Text, Account.Text, Amount.Text,
CheckNum.Text, PaymentDate,
CheckName.Text)

-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Michael D. Ober" wrote:
What reference am I missing in the following code:

public static CheckKey Parse(TextBox BankRouting, TextBox Account, TextBox
Amount, TextBox CheckNum, ASP.controls_dateselector_ascx PaymentDate, Label
CheckName)
The error on Publish is

The type or namespace name 'controls_dateSelector_ascx' does not exist in
the namespace 'ASP' (are you missing an assembly reference?)

This same code "Builds" with no errors.

Thanks,

Mike Ober.


Jun 11 '07 #2
See response in the C# group. I should have answered here, but you
multiple-posted. Normally one post to the most appropriate group is
netiquettically correct.

-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net


"Michael D. Ober" wrote:
What reference am I missing in the following code:

public static CheckKey Parse(TextBox BankRouting, TextBox Account, TextBox
Amount, TextBox CheckNum, ASP.controls_dateselector_ascx PaymentDate, Label
CheckName)
The error on Publish is

The type or namespace name 'controls_dateSelector_ascx' does not exist in
the namespace 'ASP' (are you missing an assembly reference?)

This same code "Builds" with no errors.

Thanks,

Mike Ober.


Jun 11 '07 #3
"Peter Bromberg [C# MVP]" <pb*******@yahoo.yabbadabbadoo.comwrote in
message news:10**********************************@microsof t.com...
netiquettically
:-)
--
http://www.markrae.net

Jun 11 '07 #4

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

Similar topics

11
by: Ohaya | last post by:
Hi, I'm trying to understand a situation where ASP seems to be "blocking" of "queuing" requests. This is on a Win2K Advanced Server, with IIS5. I've seen some posts (e.g.,...
8
by: whtevr | last post by:
Consider this HTML on an ASP page called default.asp in a virtual directory: <FORM name="Flogin" id="Flogin" action="" method=post> </FORM> Do I HAVE to put the literal "default.asp" into the...
0
by: Joeyej | last post by:
Hi - I'm trying to move/use a web form (containing some javascript field checks) previously hosted on a Windows 2000 server. However, the FORM METHOD="post..." command in the form (shown below)...
1
by: Edward King | last post by:
I have a statement in a asp,like follows£º var str=window.top.main.document.all.contenttext.value; I use IIS5.0 to deploy this asp,then I visit this asp like follows:...
2
by: McKirahan | last post by:
If I have a Web page invoked via http://myDomain.com/What.htm that references an ASP page via the <img> tag's "src=" like this: <html> <head> <title>Page.htm</title> </head> <body> <img...
4
by: keithb | last post by:
It looks like the span tag cannot be used with asp tables. What is the best way to make an irregular asp table? Thanks, Keith
1
by: Electric Co. | last post by:
Hello, I have two questions: 1.) Could I create a custom server control in 2005 in order to leverage the CompositeControl base class and then use that control in 2003? (fingers crossed but...
1
by: mark4asp | last post by:
Which should I use: 1. "ASP.NET AJAX-Enabled Web Site" or 2. "AJAX Control Toolkit Web Site"? In the first, controls from the control toolkit start as: <cc1:SomeControl></cc1> In the 2nd,...
2
by: Michael D. Ober | last post by:
What reference am I missing in the following code: public static CheckKey Parse(TextBox BankRouting, TextBox Account, TextBox Amount, TextBox CheckNum, ASP.controls_dateselector_ascx PaymentDate,...
0
by: Crash | last post by:
..NET Framework 1.x, 2.x, 3.x... ASP.NET 5.0, 5.1, 6.0... Windows Server 2000, XP, Server 2003... I am using NAnt & the NAnt contrib library to automate virtual directory maintenance tasks on...
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
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.