随笔分类 - C:ASP.NET系列
C:ASP.NET系列
摘要:代码如下: 调用方式: 删除文件 DeleteDirectory(@"D:\copyfile\zip", @"D:\copyfile\zip\20180916115334.zip"); 删除文件夹 DeleteDirectory(@"D:\copyfile\zip", @"D:\copyfile\z
阅读全文
摘要:using System.IO; if (!Directory.Exists("磁盘上的路径")) { Directory.CreateDirectory("磁盘上的路径"); }
阅读全文
摘要:<system.web> <compilation debug="true" targetFramework="4.5" /> <!--<httpRuntime targetFramework="4.5" />--> <httpRuntime targetFramework="4.5" maxReq
阅读全文
摘要:<?xml version="1.0"?> <configuration> <!--IIS经典模式下使用--> <system.web> <httpHandlers> <add path="request.aspx" verb="*" type=" Bll.Handler.Test"/> <add
阅读全文
摘要:原因是没有安装 URL Rewrite 官方下载地址:http://www.iis.net/downloads/microsoft/url-rewrite#additionalDownloads
阅读全文
摘要:/// /// 汽车商标 获取 /// Redis Key=zgqp315_Redis_TrademarkC_List /// /// public static RedisJsonResult Get_TrademarkC() { //var redisClient ...
阅读全文
摘要:/// /// 汽车车型 获取 /// Redis Key=zgqp315_Redis_ModelNumberC_List /// /// /// public static RedisJsonResult Get_ModelNumberC(int SeriesId) { ...
阅读全文
摘要:一个网站有多个域名,但是需要在访问其中某个域名之后跳转到另一域名。 Web.config 中配置
阅读全文
摘要:decimal d = decimal.Round(decimal.Parse( "0.55555 "),2);http://www.cnblogs.com/xiaofengfeng/archive/2010/11/20/1882372.html
阅读全文