Home > database >  Want to realize the fuzzy query, add a combobox, extract the input Chinese strTemp, then insert the
Want to realize the fuzzy query, add a combobox, extract the input Chinese strTemp, then insert the

Time:10-02


((CComboBox *) GetDlgItem (IDC_COMBO2)) -> GetWindowText (strTemp);
Str1. The Format (_T (" SELECT * FROM HY_STSC_A where STNM LIKE '% %' "+ strTemp +" "));
if (! TheApp. M_ado. Select (str1) MessageBox (theApp. M_ado. GetLastError ());
  • Related