aspnet_regsql.exe -S "BT-TT" -E -d "pubs" -ed
aspnet_regsql.exe -S "BT-TT" -E -d "pubs" -et -t "authors"然后在页面输入:
<%@ OutputCache Duration="99999999" VaryByParam="none" SqlDependency="Pubs.Authors"  %>问题1:在dos里提示:BT-TT 不是有效路径:
请问我到底要在dos里面输入:给个实际的例子???问题2:在web.config里加上  如下代码与在页面上输入<%@ outputCache.....................%>有什么区别????
<caching>
        <sqlCacheDependency enabled = "true" pollTime = "1000" >
          <databases>
            <add name="Northwind"
               connectionStringName="NorthwindConnectionString"
               pollTime = "1000"
      />
          </databases>
        </sqlCacheDependency>
      </caching>