sql.Format("select * from tb_mysql where bookname = '%s' and bookdata between '%s' and '%s' ",c_value,c_starttime,c_endtime);始终出现不了结果,不知道为什么啊 ....bookdata是用这么几段话获得的   数据库的日期是2016-2-24 格式和c_starttime,c_endtime格式一样的。
    CString strtime; //
    CTime tm;
    tm=CTime::GetCurrentTime();
    strtime=tm.Format("%Y-%m-%d");