Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get the value in combobox?
Message
From
18/01/2011 23:58:03
 
 
To
All
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
How to get the value in combobox?
Environment versions
Environment:
VB 9.0
OS:
Windows XP
Miscellaneous
Thread ID:
01496517
Message ID:
01496517
Views:
63
HI, ALL
My question , i have a combobox, use drop and pop method ,and i set the datasource
UnitBindingSource..... i want to user entry the combobox , if the database is none , then do something.
So i want to user entry combobox text to compare combobox all data, how can i do?
i already try , but not ok
Dim check As Boolean = False
        For a = 0 To unitcount - 1

            If CmboPkgunit.Text = Trim(CmboPkgunit.Items(a).ToString()) Then
                check = True
            End If
        Next
Next
Reply
Map
View

Click here to load this message in the networking platform