Hi Bonnie,
>Yeah, Viv, it works. I just tried it.
Thanks for confirming (I should try not to be so lazy :-} )
Best,
Viv
>
>Ernst, try this:
>
>BindingSource bs = new BindingSource();
>bs.DataSource = this.MyTable.Columns;
>this.MyCombo.DataSource = bs;
>
>
>~~Bonnie
>
>
>
>>Hi,
>>
>>I would think that since the DataColumns collection supports IEnumerable you should be able to bind to it using a BindingSource. Haven't tried it tho'
>>HTH,
>>Viv
>>
>>>how do i populate a combobox with the fieldnames of a table or DB Object?