这么写:strA.Format("select * from detail where time between #%s# and #%s# " , (CStringA)m_start , (CStringA)m_end);