VC数据库使用中的一个问题
zdg 2000-03-27 05:05:00 CRecordset.GetFieldValue返回的tempStr
1)tempStr.m_dwType=DBVT_STRING的时候
tempstr.m_pstring怎么转换成CString???
我现在用tempStr.m_pstring->Left(tempStr.m_pstring->GetLength()), 感觉有点土...
2)tempStr.m_dwType=DBVT_DATE的时候
tempstr.m_pdate是TIMESTAMP_STRUCT, 这是什么结构?怎么转换成CString???
因为我要作insert into操作...