developer2012
asked on
The "IN_KEYWORD" excpetion in vb.net?
I get this exception when I selected the particular value from the drop down list. It does not happen with other values but just with the one.
The IN keyword must be followed by a non-empty list of expressions separated by commas, and also must be enclosed in parentheses.
HEre is the code
Any ideas? It works good with other selected values. Thanks!
The IN keyword must be followed by a non-empty list of expressions separated by commas, and also must be enclosed in parentheses.
HEre is the code
Dim dViewEmp As DataView = New DataView(dsEmp.Tables(0), "UID not in (" & strbldr.ToString & ")", "UID", DataViewRowState.CurrentRows)
Any ideas? It works good with other selected values. Thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I will try this and let you know. Sorry for the late response...
ASKER
When I put the break point and checked in the database. there is no UID assoicated with that particular value.resolved my issue. Thanks
maybe something like this:
Open in new window
Alan ";0)