Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to concatenate the 3 text of 3 textbox and make them as a one item in a combobox using a database...
Posted
Updated 27-Feb-10 19:21pm
v2

Use

combobox.Items.Add(string1 + string2 + string3)

What is the problem with it?
 
Share this answer
 
Dont know whats the issue!
As you asked via database:
You can achieve this by SQL queries. Concatenate the three textbox values(columns) in queries as a row output for the combobox.

SQL
SELECT Col1+' '+Col2+' '+Col3 AS ComboBoXItems FROM Table1 
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900