关于OleDbDataSetCommand的使用出错问题

[复制链接]
查看11 | 回复1 | 2003-8-4 20:19:00 | 显示全部楼层 |阅读模式
以下这段代码在编译时出现如下错误:
编译器错误信息: BC30002: 未定义类型“OleDbdataSetCommand”。找不出问题所在,请帮小弟看看。


回复

使用道具 举报

千问 | 2003-8-4 20:19:00 | 显示全部楼层
我在用OLEDBDataSetCommand 时也出现上述问题,不知怎样解决才好,望各位指点一下迷津!下面时程序原代码:


DataSetCommand Test!

this is a test !


下面就是编译结果,提示OLEDBDataSetCommand没有定义!
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: BC30002: Type 'OLEDBDataSetCommand' is not defined.
Source Error:

Line 19:con.Open()

Line 20:dim cmd as string="select * from info"

Line 21:dim dsc as OLEDBDataSetCommand=New OLEDBDataSetCommand(cmd,con)
Line 22:'dim dsc as DataSetCommand=New DataSetCommand(cmd,con)

Line 23:dim ds as DataSet=New DataSet()

Source File: d:\ljy\dataset1.aspxLine: 21
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行