用智能指针进行一个sql的where查询"select Pwd from UserLogin where Uid = "+username;m_pRecordset->Open(sql,m_pConnection.GetInterfacePtr(),adOpenDynamic,adLockOptimistic,adCmdText);如果我输入的username是lion,报错:lion未无效列。。UserLogin表中就两个列 一个是Uid, 一个是Pwd是查询语句有错吗??还是语句的语法错了??在线等,望各位给些建议
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货