I have a form with multiple combo boxes and text boxes making an invoice.. I have the combo boxes linked to my database and I want each selection to fill a different textbox. The comboboxes fill on form load... How can I fill the textbox with the selected index from the combobox? Any help will do. I am using Visual Studio 2010 in .net not C#
twalton42
0
Light Poster
Recommended Answers
Jump to Postfirst, I want to clarify that visual studio 2010 is IDE application. Since vs2010 is a .net framework, you can use any programming language you want that is included within .net. maybe, your trying to say that you are using vb.net?
Jump to Postok. I'm also working with the same scenario, I'll share it with you later.
Jump to Postthe information that you are using to fill the text boxes, where are they comming from?
Jump to PostJust to clarify, when you say
all the combo boxes are linked to the same table
that means you have a unique datatable as data source for all the comboboxes?
Or you are filling the combobox items using a datareader?In the first scenario when you select an item …
Jump to PostYou need separate datasources / binding sources for each combo.
All 19 Replies
khentz
0
Junior Poster in Training
twalton42
0
Light Poster
khentz
0
Junior Poster in Training
twalton42
0
Light Poster
anas alrawi
0
Newbie Poster
twalton42
0
Light Poster
lolafuertes
145
Master Poster
twalton42
0
Light Poster
lolafuertes
145
Master Poster
twalton42
0
Light Poster
lolafuertes
145
Master Poster
twalton42
0
Light Poster
Mitja Bonca
557
Nearly a Posting Maven
twalton42
0
Light Poster
lolafuertes
145
Master Poster
twalton42
0
Light Poster
siva28
-2
Newbie Poster
lolafuertes
commented:
Is not a good idea to fill a thread with new questions. Please start a distinct one.
-2
twalton42
0
Light Poster
lolafuertes
145
Master 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.