Mikecrosoft
01-21-2004, 08:03 AM
Hi
I found finally how to fill a combobox with hidden data from a DataTable information:
CboTest.DisplayMember = FieldTextName
CboTest.ValueMember = FieldIDName
CboTest.DataSource = MyDataTable
Ok, this works great, but my next problem is, how I can select the item with the specified ValueMember ????
Thanks
Mike
I found finally how to fill a combobox with hidden data from a DataTable information:
CboTest.DisplayMember = FieldTextName
CboTest.ValueMember = FieldIDName
CboTest.DataSource = MyDataTable
Ok, this works great, but my next problem is, how I can select the item with the specified ValueMember ????
Thanks
Mike