Click here to Skip to main content
15,913,722 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Friends,

i using one datatable in that datatable i select 2 values using And operation herewith i have attched code
Dim customerRow DataRow
customerRow = TempDt.Select("QuestionOderIndex = '" & "b'" & "QuestionOderIndex = " & " '")

if run the Code Following Error will occur

"syntax error missing operand after operator "

Can you Please Help me its Urgent


Vijay
Posted

1 solution

you need to add space charater while concatenating b and QuestionOrderIndex.

See below

customerRow = TempDt.Select("QuestionOderIndex = '" & "b' " & "QuestionOderIndex = " & " '")
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900