请帮忙纠正错误。高分请教!!!!!
Dim ObjTestLineConfig
Set ObjTestLineConfig = CreateObject("Scripting.Dictionary")
strSql="select * from TLView_TestLineConfig"
Set objRs = objConn.Execute(strSql)
DO While not objRs.eof
strcode = objRs("ccCode")
strname = objRs("ccCodeName")
ObjTestLineConfig.Add strcode,strname
objRs.movenext
Loop
objRs.Close
Application("ObjTestLineConfig") = ObjTestLineConfig
提示最后一句出错,为什么?如何更正(数据库检索是正确的)