|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
combobox datasource...Hello!
I can populate, i.e., a combobox with a dataset using the .datasource, etc... But when I'm changing the values in the combobox (based on some other criteria) the previous values are remaining in the combobox. So, I believe I need to 'clear' the datasource, etc properties of the combobox before resetting them... Not sure how to clear the cbo.datasource, cbo.ValueMember, and cbo.SelectedValue properties. -- Thanks! Soddy Soddy,
You need to clear the datasource. That is the datatable that you tell the datasource is. datatable.clear Cor Show quoteHide quote "Soddy" <So***@discussions.microsoft.com> schreef in bericht news:5A17306D-68EF-4F9A-8EB6-E6C0558370DC@microsoft.com... > Hello! > > I can populate, i.e., a combobox with a dataset using the .datasource, > etc... But when I'm changing the values in the combobox (based on some > other > criteria) the previous values are remaining in the combobox. So, I > believe I > need to 'clear' the datasource, etc properties of the combobox before > resetting them... Not sure how to clear the cbo.datasource, > cbo.ValueMember, > and cbo.SelectedValue properties. > > -- > Thanks! > Soddy
Multi-User Data App Architecture
How to use one datagrid to update/insert into another Migrating to VS 2005 11th hour failure to trigger click event for object in hash table Bring in a form from another solution/project Re: destroying/releasing objects from memory? Connected App (VB2005) Help... convert BASIC to VB.NET Form Upload Test Utility? How to Insert field and value into another grid |
|||||||||||||||||||||||