Hi All
I am using VB.Net 2.0 - I have a dropdownlist I populate from an Access database - this works fine; however, when I try to use the SelectedItemChanged event, it does hit the sub routine, but it doesn't recognize the value of the ddl. I have:
Africa is exactly the same as it is in the DB - no spaces, but it isn't recognized so the code doesnt exicute. Any suggestions?
TIA,
Coleen
I am using VB.Net 2.0 - I have a dropdownlist I populate from an Access database - this works fine; however, when I try to use the SelectedItemChanged event, it does hit the sub routine, but it doesn't recognize the value of the ddl. I have:
VB.NET:
If ddlgeoregion.SelectedItem.Value.ToString() <> "" Then
If ddlgeoregion.SelectedItem.Value.ToString() = "Africa" Then
lbl_msg.Visible = True
lbl_msg.Text = "Africa"
End If
End If
Africa is exactly the same as it is in the DB - no spaces, but it isn't recognized so the code doesnt exicute. Any suggestions?
TIA,
Coleen