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

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 1204
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: 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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
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: 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.