hi all
can someone tell how i can multiply the items of combobox to onther one using vb.net , plz
HibaPro
-3
Junior Poster
Recommended Answers
Jump to PostCan you give us an example of what you are trying to do? Can you list a simple case with the contents of two comboboxes and what you want to see as a result?
Jump to PostMultiply?
Do you mean, when you select an item on comboBox1, you ADD this item to comboBox2?
Is fo, use Add() method.comboBox2.Items.Add(comobBox1.SelectedItem)
Jump to PostHi,
You could do something like this:
TextBox1.Text = Val(ComboBox1.SelectedItem) * Val(ComboBox2.SelectedItem)
All 11 Replies
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
Mitja Bonca
557
Nearly a Posting Maven
HibaPro
-3
Junior Poster
Luc001
77
Posting Whiz
HibaPro
-3
Junior Poster
Luc001
77
Posting Whiz
HibaPro
-3
Junior Poster
Luc001
77
Posting Whiz
HibaPro
-3
Junior Poster
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
HibaPro
-3
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.