摘要:
第一步:添加app.log4net配置文件<?xml version="1.0" encoding="utf-8" ?><configuration> <configSections> <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /></configSections><log4net> <root> 阅读全文
posted @ 2011-07-05 15:34
阿拉伯顶峰
阅读(736)
评论(0)
推荐(0)
摘要:
publicbool UploadImg(byte[] fileBytes,string path) { try { //文件保存目录路径 String savePath ="/upload/"; String dirPath = Server.MapPath(savePath); FileInfo ff =new FileInfo(dirPath+path); if (!ff.Directory.Exists) Directory.CreateDir... 阅读全文
posted @ 2011-07-05 15:15
阿拉伯顶峰
阅读(196)
评论(0)
推荐(0)
浙公网安备 33010602011771号