Click here to Skip to main content
16,018,938 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
listbox is having datasource
values are comming from database
me adding it to listbox2
Posted
Comments
Henry Minute 18-Nov-10 11:52am    
Is this an ASP.NET application or a Windows Forms one? If it is Windows Forms then please edit your question to remove the ASP.Net tag, otherwise people will get confused.

Do a search on the internet - you will get plenty of samples.
For one, see here[^].
 
Share this answer
 
ListBox2.DataSource = ListBox1.DataSource
 
Share this answer
 

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