在查询分析器里执行  select keyword,chaword from Dm_noword  没问题
可在VC6.0里执行以下程序就有问题了,这是为什么啊 ???谢谢各位的回答。
strTemp.Format("select keyword,chaword from Dm_noword");
try
{
// m_pRecordset->Open(strTemp.AllocSysString(),
// theApp.m_pConnection.GetInterfacePtr(),
//adOpenDynamic,adLockOptimistic,adCmdText);
        m_pRecordset->Open(strTemp.AllocSysString(),
theApp.m_pConnection.GetInterfacePtr(),
adOpenDynamic,adLockOptimistic,adCmdText); }
catch (_com_error  *e)
{
AfxMessageBox(e->ErrorMessage());
}