Board index » Web Programming » list elements in form
|
bb_aes
|
|
bb_aes
|
list elements in form
Web Programming133
Hi, Can anyone tell me how to get the ID's and text from all the labels, textboxes, checkboxes, buttons, etc in a form? This needs to be in VB, not C#. Thanks! Steve - |
| Michael
Registered User |
Mon May 07 15:31:53 CDT 2007
Re:list elements in form
Hello glbdev@gmail.com,
All elemens on the page are stored hierarchy into Page object. So, just iterate throght them, taking ID and Name properties --- WBR, Michael Nemtsev [.NET/C# MVP]. My blog: spaces.live.com/laflour">spaces.live.com/laflour Team blog: devkids.blogspot.com/">devkids.blogspot.com/ "The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo QuoteHi, - |
| glbdev
Registered User |
Mon May 07 15:53:14 CDT 2007
Re:list elements in form
On May 7, 4:31 pm, Michael Nemtsev <nemt...@msn.com>wrote:
QuoteHello glb...@gmail.com, ========================================================================================================= I guess I should have said that I am new to VB.Net ... how do I do that? Do you have a code example? Thanks, Steve - |
| glbdev
Registered User |
Mon May 07 15:55:03 CDT 2007
Re:list elements in form
On May 7, 4:31 pm, Michael Nemtsev <nemt...@msn.com>wrote:
QuoteHello glb...@gmail.com, I guess I should have mentioned that I am new to VB.Net. How do I loop through the for and do this? Do you know of some example code? Thanks, Steve - |
