我遍了一个简单的ODBC实现,怎么不能通过?
我用ODBC编了一个简单的数据库实现,ODBC数据源也手动配好的,可是在编译时出错,说数据类型不能convert,我又将数据类型全改为CString,让他自动转化,还是不行,请问怎么回事啊,我的是WINxp啊 问题点数:10、回复次数:3Top
1 楼shihong8488(mianbao)回复于 2003-05-02 20:19:51 得分 0
出现出错提示:
c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\TestInfoSystem\TestInfoSystemView.cpp(60): error C2665: 'DDX_Text' : none of the 17 overloads can convert parameter 3 from type 'long'
c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\TestInfoSystem\TestInfoSystemSet.cpp(50): error C2665: 'RFX_Date' : none of the 3 overloads can convert parameter 3 from type 'CStringA'
怎么回事啊,怎么才能convert啊Top
2 楼yuantianwen()回复于 2003-05-12 09:44:49 得分 10
不是DDX_TEXT而是DDX_FIEldTEXT吧,
我也是在学如何用vc.net编数据库,
我遇到的问题跟你一样,如果你有进展的话请跟我分享,谢谢
我的email:yuantianwen@163.comTop
3 楼shihong8488(mianbao)回复于 2003-05-18 11:46:18 得分 0
To yuantianwen:
不好意思,几天没有看帖,才回复。好的,谢谢。Top




