所要提问的相关问题在MSDN上的具体路径如下图:
http://img24.photo.163.com/yzyh_dy/1191998/92067372.jpg按照下图中高亮显示部分所示,在VB中添加其中的代码,但是编译通过不过:
http://img24.photo.163.com/yzyh_dy/1191998/92067126.jpg
请问要怎么做才对?

解决方案 »

  1.   

    我晕,你怎么不把URL贴出来,按照你的贴图输入路径太麻烦了。
      

  2.   

    应该就只是少了一个逗号…… - -bPrivate cn1 As New ADODB.ConnectionPrivate, rs1 As New ADODB.Recordset
      

  3.   

    另外~
    右键点Step Six的链接选新窗打开就有直接的地址
    看着图找好麻烦的……http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbhowStepSixWriteCodeToRetrieveDisplayCustomerIDs.asp
      

  4.   

    晕.分开定义不就ok啦
    Add the following statements to the general declarations of the webclass code: 
    Private cn1 As New ADODB.ConnectionPrivate rs1 As New ADODB.RecordsetPrivate cn1 As New ADODB.Connection '定义ADO连接
    Private rs1 As New ADODB.Recordset  '定义ADO记录集