| | |
Copy Items from one combobox to another on Button Click
Please support our ASP.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
Thread Solved
![]() |
I am not entirely sure if this will work as I am not experienced in VB at all (or combo boxes for that matter!):
Try changing this line:
To this:
This idea came as a result of some searches on google I made. Here is the original post (it might help if my fix doesn't work)
I hope this helps, let us know how it goes.
Try changing this line:
ASP.NET Syntax (Toggle Plain Text)
combobox2.items.add(value)
To this:
ASP.NET Syntax (Toggle Plain Text)
comboBox1.Items.Add(new Item(value));
This idea came as a result of some searches on google I made. Here is the original post (it might help if my fix doesn't work)
I hope this helps, let us know how it goes.
Last edited by majestic0110; May 11th, 2008 at 4:23 pm. Reason: Added URL
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
![]() |
Similar Threads
- Copy from Combobox to other Combobox (VB.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: Saving ListBox selected Item in Cookies
- Next Thread: open a new window
| Thread Tools | Search this Thread |
.net 3.5 activexcontrol advice ajax alltypeofvideos asp asp.net bc30451 beginner bottomasp.net browser businesslogiclayer c# c#gridviewcolumn cac checkbox class commonfunctions compatible confirmationcodegeneration content countryselector courier css dataaccesslayer database datagrid datagridview datagridviewcheckbox datalist deployment development dgv dropdownlist dropdownmenu dynamic dynamically edit embeddingactivexcontrol fileuploader fill findcontrol flash formatdecimal forms formview gridview gudi homeedition iframe iis javascript jquery listbox microsoft mouse mssql multistepregistration nameisnotdeclared news objects opera panelmasterpagebuttoncontrols problem redirect registration relationaldatabases reportemail rotatepage schoolproject security sessionvariables silverlight smartcard smoobjects software sql sql-server sqlserver2005 ssl textbox tracking treeview unauthorized validatedate validation vb.net video videos virtualdirectory vista visualstudio web webapplications webdevelopemnt webdevelopment webprogramming webservice youareanotmemberofthedebuggerusers






