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

Hash Table - Form Values

Does anyone know if it is possible to collect all the values of a form and
place them into a Hash table. Would save a lot of time referencing the form
elements for their value!
Jul 21 '05 #1
4 1068

"P1ayboy" <P1*****@discussions.microsoft.com> wrote in message
news:E1**********************************@microsof t.com...
Does anyone know if it is possible to collect all the values of a form and
place them into a Hash table. Would save a lot of time referencing the
form
elements for their value!


What do you define as "form values"?
Jul 21 '05 #2
Such as the text in textbox, or whether an checkbox is checked.

"Daniel O'Connell [C# MVP]" wrote:

"P1ayboy" <P1*****@discussions.microsoft.com> wrote in message
news:E1**********************************@microsof t.com...
Does anyone know if it is possible to collect all the values of a form and
place them into a Hash table. Would save a lot of time referencing the
form
elements for their value!


What do you define as "form values"?

Jul 21 '05 #3

"P1ayboy" <P1*****@discussions.microsoft.com> wrote in message
news:63**********************************@microsof t.com...
Such as the text in textbox, or whether an checkbox is checked.


There is no simple way to do it. You could write a method that would search
for all of them in the Controls collection, but that is about it.
Jul 21 '05 #4
I was sure that I had once read somewhere that .net had a function that did
this for you. Never mind. Maybe we can ask for it in the next version. I'm so
lazy!

Thanks Daniel.

"Daniel O'Connell [C# MVP]" wrote:

"P1ayboy" <P1*****@discussions.microsoft.com> wrote in message
news:63**********************************@microsof t.com...
Such as the text in textbox, or whether an checkbox is checked.


There is no simple way to do it. You could write a method that would search
for all of them in the Controls collection, but that is about it.

Jul 21 '05 #5

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

Similar topics

34
by: pembed2003 | last post by:
Hi All, Does C++/STL have hashtable where I can do stuff like: Hashtable h<int>; h.store("one",1); h.store("two",2); and then later retrieve them like:
22
by: VK | last post by:
A while ago I proposed to update info in the group FAQ section, but I dropped the discussion using the approach "No matter what color the cat is as long as it still hounts the mice". Over the last...
139
by: ravi | last post by:
Hi can anybody tell me that which ds will be best suited to implement a hash table in C/C++ thanx. in advanced
4
by: g diddy | last post by:
Hi I have a form (Allocation_Sub_Form) which is based upon a query. This query draws information from a number of tables depending on what invigilators are invigilating particular exams. This form...
4
by: WolverYanks | last post by:
SELECT Dates., Sum(1) AS FROM Dates LEFT JOIN ON Dates. = . WHERE (((.)<)) GROUP BY Dates.; I'm doing a sports database, for entertainment and to learn Access, so hopefully this is an easy...
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: 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...
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
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,...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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...

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.