Is there a way to check if a value in a variable exists in a database using mysql.data c#?

前端 未结 0 1140
后悔当初
后悔当初 2020-12-31 13:21

I want to do something like this:

string emailVariable = "test@email.com";

if ("SELECT * FROM users WHERE email=\'emailVariable\'"){
   C         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题