473,473 Members | 2,167 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Return Control's Name from Code

I am trying to develop an application on a pocket pc using
visual studio 2003. My current problem is I am trying to
populate a sql statement by looping through a control
container that contains all of my textboxes. However, I
have not been able to figure out how to retrieve the
textbox control's name (id). In asp.net it was simply
mytextbox.id but this property does not seem to exist in
the pocket pc world. Any help will be appreciated.
Thanks in advance.
Jul 21 '05 #1
3 1206
I think you are searching for the Name property of the Control class.

--
Greetz,
Jan
________________________
Read my weblog: http://weblogs.asp.net/jan

"Kreg" <kr**@ventech-inf.com> schreef in bericht
news:06****************************@phx.gbl...
I am trying to develop an application on a pocket pc using
visual studio 2003. My current problem is I am trying to
populate a sql statement by looping through a control
container that contains all of my textboxes. However, I
have not been able to figure out how to retrieve the
textbox control's name (id). In asp.net it was simply
mytextbox.id but this property does not seem to exist in
the pocket pc world. Any help will be appreciated.
Thanks in advance.

Jul 21 '05 #2
I am not given the option for the name property.
-----Original Message-----
I think you are searching for the Name property of the Control class.
--
Greetz,
Jan
________________________
Read my weblog: http://weblogs.asp.net/jan

"Kreg" <kr**@ventech-inf.com> schreef in bericht
news:06****************************@phx.gbl...
I am trying to develop an application on a pocket pc using visual studio 2003. My current problem is I am trying to populate a sql statement by looping through a control
container that contains all of my textboxes. However, I
have not been able to figure out how to retrieve the
textbox control's name (id). In asp.net it was simply
mytextbox.id but this property does not seem to exist in
the pocket pc world. Any help will be appreciated.
Thanks in advance.

.

Jul 21 '05 #3
Ok...
Maybe you should post your question in the dotnet.framework.compactframework
newsgroup, since you are developing for a Pocket PC.

--
Greetz,
Jan
__________________________________
Read my weblog: http://weblogs.asp.net/jan
"kreg" <kr**@ventech-inf.com> schreef in bericht
news:06****************************@phx.gbl...
I am not given the option for the name property.
-----Original Message-----
I think you are searching for the Name property of the

Control class.

--
Greetz,
Jan
________________________
Read my weblog: http://weblogs.asp.net/jan

"Kreg" <kr**@ventech-inf.com> schreef in bericht
news:06****************************@phx.gbl...
I am trying to develop an application on a pocket pc using visual studio 2003. My current problem is I am trying to populate a sql statement by looping through a control
container that contains all of my textboxes. However, I
have not been able to figure out how to retrieve the
textbox control's name (id). In asp.net it was simply
mytextbox.id but this property does not seem to exist in
the pocket pc world. Any help will be appreciated.
Thanks in advance.

.

Jul 21 '05 #4

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

Similar topics

0
by: Christopher M. Lauer | last post by:
I have done my best to answer this question but can not find the proper set of commands. I would like to transform an xml file (in code behind) and display its output in a specific html tag,...
3
by: Melissa | last post by:
I have forty-two small subforms on a form. I need help with the code that will return the name of the subform control when I click on any subform control. I know how to select all the subform...
3
by: Thomas Scheiderich | last post by:
I am curious as to why ASP.NET returns values a different way from VB or VB.net (or can you use both). In my one book I have it returning using a return statement ...
1
by: Jorge Ponte | last post by:
hi I have a Web User Control (ascx) - lets call it "My_WUC" - in a Web form. In that WUC I want have a textbox and a button. I want to click on the button and open a popup (I use javascript for...
3
by: Kreg | last post by:
I am trying to develop an application on a pocket pc using visual studio 2003. My current problem is I am trying to populate a sql statement by looping through a control container that contains...
9
by: MSDNAndi | last post by:
Hi, I have a set of simple webservices calls that worked fine using .NET Framework 1.0. I am calling a Java/Apache based webservices, the calling side is not able to supply a proper WSDL. ...
1
by: louis_la_brocante | last post by:
Dear all, I am having trouble generating a client proxy for a webservice whose methods return a "complex" type. The type is complex in that it is a class whose members are a mix of primitive...
8
by: fernandezr | last post by:
I would like to use a user control as a template inside a repeater. Some of the fields in the control should be hidden depending on whether or not there is data. I'm still a ASP .Net newbie so the...
13
by: cppquester | last post by:
A colleague told me that there is a rule about good stype that a function in C++ should have only one point of return (ie. return statement). Otherwise there might be trouble. I never heard about...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
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...
0
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...
0
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 ...

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.