c# - SQL Syntax error on ASP.NET site -


i'm doing website using asp.net , using mysql database. filling in drop down list doing simple select command, i've done @ least 20 times in project alone, keeps giving me error.

i've filled 1 drop down list , using selected choice fill next drop down list, won't accept data first list.

the sql is:

select equipname seniorschema.checkout active=0 , email =hsnyder1@unca.edu; 

i've tried lastname instead of email, checked , double checked spelling, still doesn't work

can figure out?

is email value stored string (varchar)? if syntax same mssql, think problem it's missing quotes.

select equipname seniorschema.checkout active=0 , email ='hsnyder1@unca.edu' 

Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -