我在数据库里面有个时间字段:TIMER。在程序里面我要得到它,赋给另一个CTime变量,老不行。
         CDBVariant DB_PcServertime;
RS.GetFieldValue("TIMER",DB_PcServertime);
CTime m_PcServerTime=DB_PcServertime.m_pdate;//就是这句老不对,VC这样说:binary '=' : no operator defined which takes a right-hand operand of type 'struct tagTIMESTAMP_STRUCT *' (or there is no acceptable conversion)
麻烦大家帮忙想想啊。