CString s1;
s1 = L"%";
CString cstr;
cstr.Format(L"SELECT A.text1, B.infor, c.acount, d.person FROM [dbo].[estate] A INNER JOIN [dbo].[finance] B ON A.id = B.id INNER JOIN [dbo].[user1] c ON B.id = c.id INNER JOIN [dbo].[repair] d ON d.id = c.id WHERE A.text1 LIKE '%s%s%s' OR c.acount='%s' OR B.infor='%s'OR d.person='%s'",
s1,this->m_search,s1,this->m_search, this->m_search,this->m_search);
cstr.Format(_T(),)//这里格式化的Unicode编码用_T()就会莫名中断