各位高手,小弟在一个注册系统中,把一个自定义类(vb写的)编译为dll文件时,总是出现:error bc30638:array bounds cannot appear in type specifiers
            dim objcmd as oledbdataadapter(sql,objconn)这样错误!
   sql 是我用来操作的select 语句!
   
   我的namespace是这样的:
imports system
imports system.data
imports system.data.oledb
   编译命令是这样写的:vbc /t:library /out:register.dll /r:system.dll /r:system.data.dll /r:system.xml.dll /r:system.web.dll register.vb
    还请各们大哥帮忙呀!!!!!