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

dynmaic checkbox handling

hi all,

i am doing coding in VB.net(2005), i need to display the data in hash table that i get from another form to this form with checkbox in front (the data in hash table is dynamically changes) so i need dynamic check box, i done up to this point but ofter that i need to check for the checkbox.checked how i can do that
please help me,

thanks in advance
May 16 '07 #1
5 994
Motoma
3,237 Expert 2GB
I am not entirely sure what you are asking, could you please rephrase your question, and give us a little more information about your system so that we will better understand what you need?

Thanks,
Motoma
May 16 '07 #2
thank you for your replay

ok, i will explain in detail in my application i need to take data(connection details) from the main form & display it on another form (for multiple connections)
that i am done, here i am using the hash table to store data(connection details) & use it for displaying but for disconnecting i need dynamic check box so that which connection want i will disconnect.

i think this is enough.
May 17 '07 #3
how r u creating the dynamic checkboxes?????
r u using panel.controls.add????
May 17 '07 #4
thank you for your replay

ok, i will explain in detail in my application i need to take data(connection details) from the main form & display it on another form (for multiple connections)
that i am done, here i am using the hash table to store data(connection details) & use it for displaying but for disconnecting i need dynamic check box so that which connection want i will disconnect.

i think this is enough.
Girish,

You would basically need to override the onActivate or onLoad function for the form that would display the check boxes. This way, everytime the hashtable is altered, the new form would display the checkboxes.

If you arent sure how to create on dynamically here how:

declare x,y variable
iterate through the keys
instantiate a check box
set location to x,y
set text and size information
add control to the form/container
increment x,y
end iteration
May 17 '07 #5
thank you all,


this is enough information so that i can create dynamic checkbox

once again thank you.
May 18 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Bill | last post by:
I have a catalog of books which need to be categorized into different groups. Some of the books can be listed under more than one category. I'm creating a page where I can assign a group of books...
10
by: Dan | last post by:
When using checkboxes on a form, if you uncheck them, the unchecked name/value pair in the Request.Form collection doesn't show up. It only shows when the checkbox is set to ON. Is this...
4
by: UJ | last post by:
I've got an page that dynamically generates a table (don't ask!) that includes in each cell a checkbox. I can get the checkbox create but I can't figure out how to get an event tied to it so that...
1
by: Stu Lock | last post by:
Hi, I have a checkbox in a gridview template column with autopostback turned on. I want to be able to handle this event but am unsure how. With other control of this nature I have used...
1
by: dave | last post by:
I have a html table and mutliple rows. On each row i put an onclick event that opesn a modal window and prompts the user for some information. I want this modal window to show when the user...
2
RayTracy
by: RayTracy | last post by:
I´m trying to add a value to totalsum when checking a checkbox. But I'm a n00b at this and I can't find any relevant information on the Internet to help me with my little problem. I'm only...
8
by: Grorange | last post by:
Writing ASP.NET pages, I have a need for client-side functions to prevent going to the server for every small change. I have a list of server side created checkboxes filled with a lot of...
1
by: iderocks | last post by:
Hi All, I created a dynamic checkbox in ASP .Net inside a Button1_Click event method (outside the page_load event) and performed the event handling method for the CheckedChanged event and when I...
4
by: Jung, William | last post by:
I have a function that convert a string to binary, where - string is the string needs to convert to binary. - binary is the BYTE array to hold the converted data StringtoBinary( LPCSTR string,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.