11 2019 档案

摘要:/// <summary> /// Http请求操作类之HttpWebRequest /// </summary> public class HttpHelper { #region properties private ILog _logger; private readonly Encoding ENCODING = Encoding.UTF8; #endregion #region cons 阅读全文
posted @ 2019-11-14 23:28 凌心缘 阅读(1960) 评论(0) 推荐(0)
摘要:if Exists(select * from sysobjects where NAME = 'insert_custominfo' and type='P') drop procedure insert_custominfo go create proc insert_custominfo @mid nvarchar(50), @custominfoid nvarchar(50) output 阅读全文
posted @ 2019-11-03 13:25 凌心缘 阅读(365) 评论(0) 推荐(0)
摘要:1、首先在项目中添加Nuget程序包... 2、然后在NuGet窗体中搜索Log4Net,然后点击安装<安装过程可能会持续几分钟,请耐心等待> 3.在webconfig中添加配置 给AssemblyInfo文件添加装载描述 程序启动时加载配置文件 在当前项目下创建一个Configs文件夹,在此文件夹 阅读全文
posted @ 2019-11-03 11:06 凌心缘 阅读(283) 评论(0) 推荐(0)
摘要:public abstract class SQLHelper { //只读的静态数据库连接字符串 //需添加引用System.Configuration; public static readonly string connString = ConfigurationManager.Connect 阅读全文
posted @ 2019-11-01 07:29 凌心缘 阅读(559) 评论(0) 推荐(0)
摘要:<connectionStrings> <add name="ConnectionStringName" connectionString="Data Source=服务器名;Initial Catalog=数据库名;User ID=用户;Password=密码" providerName="Sys 阅读全文
posted @ 2019-11-01 07:28 凌心缘 阅读(5131) 评论(0) 推荐(0)