void CADOConn::CloseRecordset()
{
if(m_pRecordset->GetState()==adStateOpen) //判断记录集状态是否为打开状态
{
m_pRecordset->Close(); //关闭记录集
}
}
void CADOConn::CloseRecordset()
{
if(m_pRecordset->GetState()==adStateOpen) //判断记录集状态是否为打开状态
{
m_pRecordset->Close(); //关闭记录集
}
}