一.Web.config中设置代码 <appSettings> <add key="deleted" value="1"/><!--删除标志--> </appSettings> 二.在App_Code中建立sys.cs // 注意:需要添加相应的引用命名空间using public class sys{ public static int deleted = int.Parse(Co…
1.一种方式,需要改动根目录的web.config(不是很推荐) <?xml version="1.0"?> <configuration> <location path="." inheritInChildApplications="false"> <!-- Stuff that shouldn't be inherited goes in here --> </location> &…