会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
——君——
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
2018年9月29日
DbHelperSQL 增加事务处理方法(2种)
摘要: DAL层代码: 调用层:
阅读全文
posted @ 2018-09-29 22:16 ——君——
阅读(324)
评论(0)
推荐(0)
2018年3月27日
事务拼接
摘要: 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)
2018年3月2日
文字转拼音与简写
摘要: 引用的插件为微软的 Microsoft.International.Converters.PinYinConverter 在NuGet中查找 PinYinConverter 效果图
阅读全文
posted @ 2018-03-02 15:51 ——君——
阅读(1541)
评论(0)
推荐(0)
2018年1月24日
sql server DbHelperSQL类
摘要: 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)
.net 枚举类型转换
摘要: 数字转化名称 名称转化数字
阅读全文
posted @ 2018-01-24 10:33 ——君——
阅读(422)
评论(0)
推荐(0)
.net 本地日志的添加
摘要: 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)
2017年12月23日
带URL的XML解析方式
摘要: XmlDocument xml = new XmlDocument(); xml.LoadXml(responseString); XmlNode root = xml.DocumentElement; XmlNamespaceManager nsp = new XmlNamespaceManage
阅读全文
posted @ 2017-12-23 15:19 ——君——
阅读(1568)
评论(1)
推荐(0)
上一页
1
2
公告