
06-19-2009, 2:51 AM
|
 |
VB.NET Forum Moderator
.NET Framework: .NET 3.5 (VS 2008)
|
|
Join Date: Aug 2004
Location: Sydney, Australia
Age: 40
Posts: 6,102
Reputation: 541
|
|
In future, don't just say "I tried and it didn't work". Please show/tell us exactly what you did and exactly what happened.
You need to set the ValueMember of the ComboBox to the name of the column/property you want returned and then you get the value that corresponds to the selection from the SelectedValue property.
|