日期:2014-05-20  浏览次数:20418 次

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