CString m_BrandName;
if(m_BrandsRS.IsOpen())
m_BrandsRS.Close();
m_BrandsRS.Open();
CString aaa;
aaa=m_BrandsRS.GetSQL();
//m_ComboBox.GetLBText(m_ComboBox.GetCurSel(),m_BrandName);
//m_BrandsRS.m_strFilter.Format("[name]=大虾");//如果启用这个语句,就查询出错。
//m_BrandsRS.m_strFilter.Format("[name]=%s",m_BrandName);
m_BrandsRS.Requery();
m_BrandsRS.MoveNext();
//if(m_BrandsRS.IsBOF()||m_BrandsRS.IsEOF())
AfxMessageBox(m_BrandsRS.m_name);
return TRUE;
m_strFileter.Format 的如何使用?