出错信息如下:
[OleDbException (0x80040154): 没有可用的错误信息: REGDB_E_CLASSNOTREG(0x80040154)。]
[InvalidOperationException: 未在本地计算机上注册“Mircosoft.Jet.OLEDB.4.0”提供程序。]
System.Data.OleDb.OleDbConnection.CreateProviderError(Int32 hr) +77
System.Data.OleDb.OleDbConnection.CreateProvider(OleDbConnectionString constr) +81
System.Data.OleDb.OleDbConnection.Open() +203
System.Data.Common.DbDataAdapter.QuietOpen(IDbConnection connection, ConnectionState& originalState) +44
System.Data.Common.DbDataAdapter.FillFromCommand(Object data, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +304
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) +77
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet, String srcTable) +36
ASP.DataControlMDB_aspx.Page_Load(Object sender, EventArgs e) in D:\学习\asp.net\代码\第二章\DataControlMDB.aspx:23
System.Web.UI.Control.OnLoad(EventArgs e) +55
System.Web.UI.Control.LoadRecursive() +27
System.Web.UI.Page.ProcessRequestMain() +750