摘要: DAL层代码: 调用层: 阅读全文
posted @ 2018-09-29 22:16 ——君—— 阅读(324) 评论(0) 推荐(0)
摘要: 1 StringBuilder strSql = new StringBuilder(); 2 strSql.AppendLine("begin tran tran_AddUserInfo --开始事务 "); 3 strSql.AppendLine("declare @tran_error int; "); 4 strSql.AppendLine("set @tran_error=... 阅读全文
posted @ 2018-03-27 16:13 ——君—— 阅读(155) 评论(0) 推荐(0)
摘要: 引用的插件为微软的 Microsoft.International.Converters.PinYinConverter 在NuGet中查找 PinYinConverter 效果图 阅读全文
posted @ 2018-03-02 15:51 ——君—— 阅读(1541) 评论(0) 推荐(0)
摘要: 1 using JKTAC_LMIS.Entity; 2 using System; 3 using System.Collections; 4 using System.Collections.Generic; 5 using System.Configuration; 6 using System.Data; 7 using System.Data.SqlClie... 阅读全文
posted @ 2018-01-24 10:37 ——君—— 阅读(2340) 评论(0) 推荐(0)
摘要: 数字转化名称 名称转化数字 阅读全文
posted @ 2018-01-24 10:33 ——君—— 阅读(422) 评论(0) 推荐(0)
摘要: 1 /// 2 /// 写入日志到文本文件 3 /// 4 /// 用户名称 5 /// 动作 6 /// 日志内容 7 /// 操作结果或报错信息 8 /// 报错信息 9 public static void WriteTextLog(string userName, string action, string content, stri... 阅读全文
posted @ 2018-01-24 10:28 ——君—— 阅读(274) 评论(0) 推荐(0)
摘要: XmlDocument xml = new XmlDocument(); xml.LoadXml(responseString); XmlNode root = xml.DocumentElement; XmlNamespaceManager nsp = new XmlNamespaceManage 阅读全文
posted @ 2017-12-23 15:19 ——君—— 阅读(1568) 评论(1) 推荐(0)