Import和Assembly<%@ Assembly Name="SchemaExplorer" %>
Import和Assembly
<%@ Import Namespace="SchemaExplorer" %>

Assembly方式:
在编译过程中将程序集链接到当前页,以使程序集的所有类和接口都可用在该页上,它引用到本页的是程序集

Import方式:
将命名空间显式导入到页中,使所导入的命名空间的所有类和接口可用于该页。导入的命名空间可以是 .NET Framework 类库或用户定义的命名空间的一部分,它引用到本页的是类的命名空间和接口

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-23
  • 2022-12-23
  • 2021-09-07
  • 2022-01-15
猜你喜欢
  • 2021-06-06
  • 2021-06-23
  • 2022-12-23
  • 2022-01-11
  • 2021-06-08
  • 2021-12-27
  • 2022-12-23
相关资源
相似解决方案