Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pupulate a combobox from a column in a datatable
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00964469
Message ID:
00964498
Views:
7
Well it was almost as easy as I thought it would be:
this.myComboBox.DataSource = this.myDataTable;
this.myComboBox.DisplayMember = "myColumn";
>How can I populate a combobox from a column in a datatable?
>
>I thought it would be as easy as:
>
>this.myComboBox.DataSource = this.myDataTable.Columns[];
>
>But that doesn't work.
>
>Thanks,
>Einar
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform