摘要: <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication2.WebForm1" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&qu 阅读全文
posted @ 2013-05-10 21:01 王洪洪 阅读(457) 评论(0) 推荐(0) 编辑
摘要: public static void WriteErrorLogDataInteraction(string sLog, string titleLog) { try { string logPath = ConfigurationSettings.AppSettings["LogPath"]; //通过配置文件记录错误日志位置 if (string.IsNullOrEmpty(logPath)) { logPath = System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase;//配置文件安装目录 } 阅读全文
posted @ 2013-05-10 16:01 王洪洪 阅读(200) 评论(0) 推荐(0) 编辑