新人问题:关于ASP.NET显示错误
SAGAX 2006-08-15 05:53:35 我在添加Datalist控件到文件后,保存查看到这个错误,请指教!!我用的是VS2005,ACCESS 2003,操作系统WIN2003。
Server Error in '/BarChart2' Application.
--------------------------------------------------------------------------------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.
Parser Error Message: Could not load type System.Web.UI.WebControls.AccessDataSource from assembly System.Web, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
Source Error:
Line 74: <ItemStyle BackColor="#F7F6F3" ForeColor="#333333" />
Line 75: <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
Line 76: </asp:DataList><asp:AccessDataSource ID="AccessDataSource1" runat="server" DataFile="~/data.mdb"
Line 77: SelectCommand="SELECT * FROM [vote] ORDER BY [ID]"></asp:AccessDataSource>
Line 78:
Source File: G:\SAGA'S FILE\Learning\Dot Net\ASP.NET\BegASPNET11\BarChart2\BarChart.aspx Line: 76
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300