问题描述
错误提示如下“/test”应用程序中的服务器错误。--------------------------------------------------------------------------------编译错误说明:在编译向该请求提供服务所需资源的过程中出现错误。请检查下列特定错误详细信息并适当地修改源代码。编译器错误信息:CS1010:常量中有换行符源错误:行35:else行36:{行37:Label3.Text="瀵逛笉璧凤紝娌℃煡鍒版暟鎹?;行38:}行39:reader0.Close();源文件:e:Inetpubstudyjk_zxy1.aspx.cs行:37显示详细的编译器输出:C:WINDOWSsystem32>"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727csc.exe"/t:library/utf8output/R:"C:WINDOWSassemblyGAC_MSILSystem.Drawing2.0.0.0__b03f5f7f11d50a3aSystem.Drawing.dll"/R:"C:WINDOWSassemblyGAC_32System.Data2.0.0.0__b77a5c561934e089System.Data.dll"/R:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727TemporaryASP.NETFilestestb2e01393336a7c91App_Code.gh2d3yim.dll"/R:"C:WINDOWSassemblyGAC_MSILSystem.Configuration2.0.0.0__b03f5f7f11d50a3aSystem.Configuration.dll"/R:"C:WINDOWSassemblyGAC_MSILSystem.Web.Mobile2.0.0.0__b03f5f7f11d50a3aSystem.Web.Mobile.dll"/R:"C:WINDOWSassemblyGAC_MSILSystem2.0.0.0__b77a5c561934e089System.dll"/R:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727TemporaryASP.NETFilestestb2e01393336a7c91App_global.asax.aqg4q84r.dll"/R:"C:WINDOWSassemblyGAC_32System.EnterpriseServices2.0.0.0__b03f5f7f11d50a3aSystem.EnterpriseServices.dll"/R:"C:WINDOWSassemblyGAC_MSILSystem.Xml2.0.0.0__b77a5c561934e089System.Xml.dll"/R:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727mscorlib.dll"/R:"C:WINDOWSassemblyGAC_32System.Web2.0.0.0__b03f5f7f11d50a3aSystem.Web.dll"/R:"C:WINDOWSassemblyGAC_MSILSystem.Web.Services2.0.0.0__b03f5f7f11d50a3aSystem.Web.Services.dll"/out:"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727TemporaryASP.NETFilestestb2e01393336a7c91App_Web_nat4dlnq.dll"/debug-/optimize+/w:4/nowarn:1659;1699"C:WINDOWSMicrosoft.NETFrameworkv2.0.50727TemporaryASP.NETFilestestb2e01393336a7c91App_Web_nat4dlnq.0.cs""C:WINDOWSMicrosoft.NETFrameworkv2.0.50727TemporaryASP.NETFilestestb2e01393336a7c91App_Web_nat4dlnq.1.cs""C:WINDOWSMicrosoft.NETFrameworkv2.0.50727TemporaryASP.NETFilestestb2e01393336a7c91App_Web_nat4dlnq.2.cs""C:WINDOWSMicrosoft.NETFrameworkv2.0.50727TemporaryASP.NETFilestestb2e01393336a7c91App_Web_nat4dlnq.3.cs""C:WINDOWSMicrosoft.NETFrameworkv2.0.50727TemporaryASP.NETFilestestb2e01393336a7c91App_Web_nat4dlnq.4.cs""C:WINDOWSMicrosoft.NETFrameworkv2.0.50727TemporaryASP.NETFilestestb2e01393336a7c91App_Web_nat4dlnq.5.cs""C:WINDOWSMicrosoft.NETFrameworkv2.0.50727TemporaryASP.NETFilestestb2e01393336a7c91App_Web_nat4dlnq.6.cs""C:WINDOWSMicrosoft.NETFrameworkv2.0.50727TemporaryASP.NETFilestestb2e01393336a7c91App_Web_nat4dlnq.7.cs"Microsoft(R)VisualC#2005编译器版本8.00.50727.42用于Microsoft(R)Windows(R)2005Framework版本2.0.50727版权所有(C)MicrosoftCorporation2001-2005。保留所有权利。e:Inetpubstudyjk_zxy1.aspx.cs(37,27):errorCS1010:常量中有换行符我的.cs文件使用gb2312编码写的。谢谢
解决方案
解决方案二:
顶一下。。