strSQL.Format("select * from user where user='%s' AND password='%S'",m_user,m_psw);
m_recordset->Open(AFX_DB_USE_DEFAULT_TYPE,strSQL);
运行的时候提示在关键字user附近有语法错误,未能准备语句。