2015年11月14日
摘要: private void button1_Click(object sender, EventArgs e) { //从注册表中读取默认浏览器可执行文件路径 RegistryKey key = Registry.ClassesRoot.O... 阅读全文
posted @ 2015-11-14 14:42 邢帅杰 阅读(1690) 评论(0) 推荐(0) 编辑
  2015年11月5日
摘要: Dapper使用:https://www.cnblogs.com/chengjun/p/6178046.htmlwindows10远程桌面——函数不受支持,这可能是由于 CredSSP 加密 Oraclehttps://blog.51cto.com/13571706/2115320 网站模板:htt 阅读全文
posted @ 2015-11-05 13:32 邢帅杰 阅读(159) 评论(0) 推荐(0) 编辑
  2015年10月14日
摘要: USE [db_Test]GOSET ANSI_NULLS ONGOSET QUOTED_IDENTIFIER ONGOcreate function [dbo].[fn_GetPinyin](@words nvarchar(2000)) returns varchar(8000) as begin... 阅读全文
posted @ 2015-10-14 09:48 邢帅杰 阅读(329) 评论(0) 推荐(0) 编辑
  2015年10月10日
摘要: public static class DataTableExtensions { public static List ToDynamic(this DataTable dt) { var dynamicDt = new List(); ... 阅读全文
posted @ 2015-10-10 13:29 邢帅杰 阅读(294) 评论(0) 推荐(0) 编辑
  2015年9月18日
摘要: C#发送https请求有一点要注意: ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult); httpReque 阅读全文
posted @ 2015-09-18 17:27 邢帅杰 阅读(1781) 评论(0) 推荐(0) 编辑
  2015年9月15日
摘要: //邮件配置 public static string mail_smtp = System.Configuration.ConfigurationManager.AppSettings["mail_smtp"]; public static string mail_ma... 阅读全文
posted @ 2015-09-15 20:18 邢帅杰 阅读(133) 评论(0) 推荐(0) 编辑
  2015年9月14日
摘要: $(function () { if (!placeholderSupport()) { $('[placeholder]').focus(function () { var input = $(this); if (input.val() == input.attr('placeholder'))... 阅读全文
posted @ 2015-09-14 17:07 邢帅杰 阅读(292) 评论(0) 推荐(0) 编辑
摘要: 例子:select * from tb_students where name='jay'select * from tb_students where name='JAY'这两句查询结果是一样的区分大小写需要加入 collate Chinese_PRC_CS_AS:select * from tb... 阅读全文
posted @ 2015-09-14 13:58 邢帅杰 阅读(786) 评论(0) 推荐(0) 编辑
  2015年9月10日
摘要: 阅读全文
posted @ 2015-09-10 11:32 邢帅杰 阅读(809) 评论(0) 推荐(0) 编辑
  2015年9月6日
摘要: [HttpGet] public List GetList() { try { List list = new List(); list.Add(new UserInf... 阅读全文
posted @ 2015-09-06 21:44 邢帅杰 阅读(1043) 评论(0) 推荐(0) 编辑