Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in .NET only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
.NET
Copy from Combobox to other Combobox
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
Yogesh Sharma
New Member
Join Date:
Mar 2008
Posts:
40
#1
Copy from Combobox to other Combobox
Apr 22 '08, 06:21 PM
Suppose I have items in combobox1
1)
On button click event ,I want to copy all the items to combobox2 ? What is the coding for this?
SpecialKay
New Member
Join Date:
Mar 2008
Posts:
109
#2
Apr 22 '08, 08:17 PM
i think you can do a
[code=cpp]
foreach(item a in combobox1)
{
combobox2.add(a );
}
[/code]
not exactly like this, you will have to modify it a bit.
but i think you get the idea
Originally posted by
Yogesh Sharma
Suppose I have items in combobox1
1)
On button click event ,I want to copy all the items to combobox2 ? What is the coding for this?
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment