怎么解决问题?谢谢!
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: CS0234: The type or namespace name 'SQL' does not exist in the class or namespace 'System.Data' (are you missing an assembly reference?)Source Error: Line 1: <% @ Page Language="C#" %>
Line 2: <% @ Import Namespace="System.Data" %>
Line 3: <% @ Import Namespace="System.Data.SQL" %>
Line 4: <Script Language="C#" Runat="Server">
Line 5: public void Page_Load(Object src,EventArgs e)
Source File: F:\Peter\ASPxNet\UserName.aspx Line: 3
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: CS0234: The type or namespace name 'SQL' does not exist in the class or namespace 'System.Data' (are you missing an assembly reference?)Source Error: Line 1: <% @ Page Language="C#" %>
Line 2: <% @ Import Namespace="System.Data" %>
Line 3: <% @ Import Namespace="System.Data.SQL" %>
Line 4: <Script Language="C#" Runat="Server">
Line 5: public void Page_Load(Object src,EventArgs e)
Source File: F:\Peter\ASPxNet\UserName.aspx Line: 3
解决方案 »
- 画面迁移时 发生的问题
- 运行出错,服务启不来高手救急
- 怎样查询并显示从001到018序号的记录?
- 谁有梅花雨日历Demo(VS2005),发我个
- dr.GetString() 有问题,大家帮忙看下!
- 关于viewstate的奇怪问题
- 数据库中读出的字段如何按照原来的格式在页面上显示?
- 关于request的一个奇怪的问题?
- 各位大师救命我现在出差在外,要安装程序,怎样才能让水晶报表安装成功!
- 如何截取字段值的字符长度为20。。<%# DataBinder.Eval(Container.DataItem, "字段名")%>
- 我要得到FBC_X 中_ 后的值,x是变化的,请问各位高手怎么截取呀!!好了就给分,在线等!!
- datagrid 分页出的一个错误??
duoxie 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: CS1009: Unrecognized escape sequenceSource Error: Line 7: {
Line 8: //联结语句
Line 9: string MyConnString = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=F:\Peter\Peter.mdb;";
Line 10: string strComm1 = "select * from UserName";
Line 11: string strComm2 = "select * from Diary";
Source File: F:\Peter\ASPxNet\Default.aspx Line: 9
<%@ import Namespace="system.data" %>
<%@ import Namespace="System.Data.sqlclient" %>
<%@ import Namespace="System.Data.OleDb" %>
<script runat="server"> dim myConnectionString as string = "server=localhost;Initial Catalog=banking;User Id=sa;password=;"
Dim myConnection As New sqlConnection(myConnectionString)
sub getdata(obj as object, e as eventargs)
dim objcmd as sqlcommand=new sqlcommand("select * from tblUsers",myConnection)
dim objreader as sqldatareader
..................