生手求教,asp.net连接acess

新手求教,asp.net连接acess连接acess时出错“标准表达式中的类型不匹配”cmdstrstring.Format(select Pass

新手求教,asp.net连接acess
连接acess时出错“标准表达式中的类型不匹配”

cmdstr=string.Format("select Password from VR where Login={0}",login)

Login是文本类型

急求,望大神解救
[解决办法]
cmdstr=string.Format("select Password from VR where Login='{0}'",login)