这个贴子单个发就是发不了,上面产生的错误是:
Server Error in '/123456' Application.
--------------------------------------------------------------------------------
Compilation Error
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 'ADOConnection' is not defined.
Source Error:
Line 11: <Script Language="VB" Runat="Server">
Line 12: Sub Button1_Click(sender As Object, E As EventArgs)
Line 13: Dim cnA As ADOConnection=New ADOConnection
Line 14: Dim cmA As ADOCommand=New ADOCommand
Line 15: cnA.Provider="Microsoft.Jet.OLEDB.4.0"
Source File: F:\123456\1.aspx Line: 13
Show Detailed Compiler Output:
C:\WINDOWS\system32> "c:\windows\microsoft.net\framework\v1.1.4322\vbc.exe" /t:library /utf8output /R:"c:\windows\assembly\gac\system.enterpriseservices\1.0.5000.0__b03f5f7f11d50a3a\system.enterpriseservices.dll" /R:"c:\windows\assembly\gac\system.data\1.0.5000.0__b77a5c561934e089\system.data.dll" /R:"c:\windows\assembly\gac\system.drawing\1.0.5000.0__b03f5f7f11d50a3a\system.drawing.dll" /R:"c:\windows\assembly\gac\system.web.mobile\1.0.5000.0__b03f5f7f11d50a3a\system.web.mobile.dll" /R:"c:\windows\microsoft.net\framework\v1.1.4322\temporary asp.net files\123456\ba638049\1d169be\assembly\dl2\84a815a9\0033c6bc_f68ec201\count1.0.dll" /R:"c:\windows\assembly\gac\system.xml\1.0.5000.0__b77a5c561934e089\system.xml.dll" /R:"c:\windows\assembly\gac\system.web.services\1.0.5000.0__b03f5f7f11d50a3a\system.web.services.dll" /R:"c:\windows\assembly\gac\system\1.0.5000.0__b77a5c561934e089\system.dll" /R:"c:\windows\assembly\gac\system.web\1.0.5000.0__b03f5f7f11d50a3a\system.web.dll" /out:"C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\123456\ba638049\1d169be\vquyeffm.dll" /debug- "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\123456\ba638049\1d169be\vquyeffm.0.vb"
Microsoft (R) Visual Basic .NET Compiler version 7.10.3052.4
for Microsoft (R) .NET Framework version 1.1.4322.573
Copyright (C) Microsoft Corporation 1987-2002. All rights reserved.
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\123456\ba638049\1d169be\vquyeffm.0.vb(20) : error BC30466: Namespace or type 'ADO' for the Imports 'System.Data.ADO' cannot be found.
Imports System.Data.ADO
~~~~~~~~~~~~~~~
F:\123456\1.aspx(13) : error BC30002: Type 'ADOConnection' is not defined.
Dim cnA As ADOConnection=New ADOConnection
~~~~~~~~~~~~~
F:\123456\1.aspx(14) : error BC30002: Type 'ADOCommand' is not defined.
Dim cmA As ADOCommand=New ADOCommand
~~~~~~~~~~
F:\123456\1.aspx(20) : error BC30456: 'admin' is not a member of 'System.Data.CommandType'.
cmA.CommandType=CommandType.admin
~~~~~~~~~~~~~~~~~
F:\123456\1.aspx(21) : error BC30451: Name 'admin' is not declared.
cmA.CommandText=admin.Value
~~~~~
Show Complete Compilation Source:
Line 1: '------------------------------------------------------------------------------
Line 2: ' <autogenerated>
Line 3: ' This code was generated by a tool.
Line 4: ' Runtime Version: 1.1.4322.573
Line 5: '
Line 6: ' Changes to this file may cause incorrect behavior and will be lost if
Line 7: ' the code is regenerated.
Line 8: ' </autogenerated>
Line 9: '------------------------------------------------------------------------------
Line 10:
Line 11: Option Strict Off
Line 12: Option Explicit On
Line 13:
Line 14: Imports Microsoft.VisualBasic
Line 15: Imports System
Line 16: Imports System.Collections
Line 17: Imports System.Collections.Specialized
Line 18: Imports System.Configuration
Line 19: Imports System.Data
复制还有好多,字符限制都删了!!!!^^^
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573