我初学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" %> 
 

解决方案 »

  1.   

    System.IO是不是大小写
      
    *****************************************************************************
    欢迎使用CSDN论坛专用阅读器 : CSDN Reader(附全部源代码) 最新版本:20070212http://www.cnblogs.com/feiyun0112/archive/2006/09/20/509783.html
      

  2.   

    好了,是这个问题,这个是抄来的啊怎么还错改过来后,又有这个错误CS0234: The type or namespace name 'XML' does not exist in the class or namespace 'System' 麻烦帮我看下阿,谢谢啦
      

  3.   

    晕死 应该是<%@ IMPORT NAMESPACE="System.IO" %> 
    <%@ ASSEMBLY NAME="System.Xml" %> 
    <%@ IMPORT NAMESPACE="System.Xml" %> 
    <%@ PAGE LANGUAGE="C#" ENABLESESSIONSTATE="TRUE" %> 谢谢feiyun兄弟