Return Control's Name from Code

  • Thread starter Thread starter Kreg
  • Start date Start date
K

Kreg

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.
 
I think you are searching for the Name property of the Control class.
 
Ok...
Maybe you should post your question in the dotnet.framework.compactframework
newsgroup, since you are developing for a Pocket PC.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top