主题:Visual C++ 编辑登陆系统程序问题
本人刚接触Visual C++,照着一个源程序做了个登陆系统,但是编译后提示"FROM子句语法错误"
mSqlStr = "SELETE * FROM CLERK WHERE NAME='";
mSqlStr = mSqlStr + m_strname;
mSqlStr = mSqlStr + "'AND PASSWORD='";
mSqlStr = mSqlStr + m_strpassword;
mSqlStr = mSqlStr + "'";
感觉是这个用户名和密码核对的地方出问题了,请高手帮忙指点下
mSqlStr = "SELETE * FROM CLERK WHERE NAME='";
mSqlStr = mSqlStr + m_strname;
mSqlStr = mSqlStr + "'AND PASSWORD='";
mSqlStr = mSqlStr + m_strpassword;
mSqlStr = mSqlStr + "'";
感觉是这个用户名和密码核对的地方出问题了,请高手帮忙指点下