By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,984 Members | 1,421 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,984 IT Pros & Developers. It's quick & easy.

Reference Needed for "ASP"

P: n/a
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
Share this Question
Share on Google+
3 Replies


P: n/a
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

P: n/a
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

P: n/a
"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 discussion thread is closed

Replies have been disabled for this discussion.