首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

c++ recordset 怎么PutCollect getdate()函数

2013-12-16 
c++ recordset 如何PutCollect getdate()函数RecordsetPtr1-PutCollect(_variant_t(systime), GETDATE

c++ recordset 如何PutCollect getdate()函数
RecordsetPtr1->PutCollect(_variant_t("systime"), "GETDATE()");   systime 是 datetime类型字段
这么写为啥不行呢。。应该怎么写呢。

[解决办法]
RecordsetPtr1->PutCollect(_variant_t("systime"), "GETDATE()");红色的那个是什么?为什么要使用引号包起来?用引号包起来就会被当成字符串,而不是函数   

热点排行