473,657 Members | 2,544 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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_da teselector_ascx PaymentDate, Label
CheckName)
The error on Publish is

The type or namespace name 'controls_dateS elector_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
2 1462
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(BankRouti ng.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_da teselector_ascx PaymentDate, Label
CheckName)
The error on Publish is

The type or namespace name 'controls_dateS elector_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_da teselector_ascx PaymentDate, Label
CheckName)
The error on Publish is

The type or namespace name 'controls_dateS elector_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

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

Similar topics

11
4941
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., http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&selm=Tidy7IDbDHA.2108%40cpmsftngxa06.phx.gbl) that indicate that ASP will queue up requests when they come in with the same "session".
8
5729
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 action attrib to get this form to post back to the "default.asp" page in that directory?
0
2552
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) now renders "Page not Found" when launched on the new Windows 2003 server (ws-server1). The form is designed to use the write.asp program to write to an Acccess database and is successful on any Windows 2000 server. This is frustrating because...
1
1424
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: http://localhost/test/default.asp I found I can get this page,then I use my computer's IP address, http://192.168.0.3/test/default.asp I got errors! It said "no right"£¬then I erase this statement,then I visit
2
6798
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 src="http://myDomain.com/Page.asp" border="0" width="0" height="0" alt="">
4
2037
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
1280
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 guessing aboslutely not) 2.) How good does ASP.NET 2005 handle a custom composite control inside of a custom composite control ?
1
1750
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, those controls are: <ajaxToolkit:SomeControl></ ajaxToolkit>
3
1212
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, 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?)
0
8392
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8825
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8605
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5632
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4151
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4302
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2726
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1953
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1611
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.