首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > asp.net >

SYSTEM.IO 总是报错,该如何处理

2012-01-12 
SYSTEM.IO 总是报错我初学asp.net我有下面一段代码,总是报错,什么问题啊~%@IMPORTNAMESPACE SYSTEM.IO

SYSTEM.IO 总是报错
我初学asp.net
我有下面一段代码,总是报错,什么问题啊~

<%@   IMPORT   NAMESPACE= "SYSTEM.IO "   %>  
<%@   ASSEMBLY   NAME= "SYSTEM.XML "   %>  
<%@   IMPORT   NAMESPACE= "SYSTEM.XML "   %>  
<%@   PAGE   LANGUAGE= "C# "   ENABLESESSIONSTATE= "TRUE "   %>  
<%--   THESE   ARE   THE   IMPORTED   ASSEMBILES   AND   NAMESPACES   NEED   TO   RUN   THE   COUNTER   --%>  

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:   CS0246:   The   type   or   namespace   name   'SYSTEM '   could   not   be   found   (are   you   missing   a   using   directive   or   an   assembly   reference?)

Source   Error:

 

Line   1:     <%@   IMPORT   NAMESPACE= "SYSTEM.IO "   %>  
Line   2:     <%@   ASSEMBLY   NAME= "SYSTEM.XML "   %>  
Line   3:     <%@   IMPORT   NAMESPACE= "SYSTEM.XML "   %>  
 


[解决办法]
System.IO

是不是大小写

*****************************************************************************
欢迎使用CSDN论坛专用阅读器 : CSDN Reader(附全部源代码)

最新版本:20070212

http://www.cnblogs.com/feiyun0112/archive/2006/09/20/509783.html

热点排行