General information
Category:
The Mere Mortals .NET Framework
>Ali,
>
>>When I debug, I always get the type of Value object as "System.Data.DataRowView".
>
>OK, it will be set to that twice when the combo box is first bound, but once you physically select an item in the combo box, it should contain the selected value.
>
>Regards,
Although, I physically select, I get the "System.Data.DataRowView".
When I debug, I saw what you mean by twice.
I want to remember:
I set only these properties of mmCombobox:
Name : cboCustomers
BindingSource : Customer
BindingSourceDisplayMember : CompanyName
BindingSourceValueMember : CustomerID
I try to get CustomerID by selecting CompanyName in combobox.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only