13-引用其它文件或 .Net 类库

比如引用 CodeSmith 自带的 CodeSmith.CustomProperties.dll ,可以使用如下语句:

<%@ Assembly Name=”CodeSmith.CustomProperties” %>

比如我们之前的例子

<%--引入下面的类库,操作数据库必备的。不要纠结加入就行啦。--%>
<%@ Assembly Name="SchemaExplorer" %>
<%@ Import Namespace="SchemaExplorer" %>Code language: HTML, XML (xml)

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注