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 的如何使用?
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 的如何使用?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货