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 邢帅杰 阅读(364) 评论(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 邢帅杰 阅读(309) 评论(0) 推荐(0)
  2015年9月18日
摘要: 发送http、https请求 /// <summary> /// 发送http、https请求 /// .net framework4.6.2 /// </summary> /// <param name="url"></param> /// <param name="method"></param 阅读全文
posted @ 2015-09-18 17:27 邢帅杰 阅读(1977) 评论(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 邢帅杰 阅读(140) 评论(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 邢帅杰 阅读(306) 评论(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 邢帅杰 阅读(803) 评论(0) 推荐(0)
  2015年9月10日
摘要: 阅读全文
posted @ 2015-09-10 11:32 邢帅杰 阅读(840) 评论(0) 推荐(0)
  2015年9月6日
摘要: [HttpGet] public List GetList() { try { List list = new List(); list.Add(new UserInf... 阅读全文
posted @ 2015-09-06 21:44 邢帅杰 阅读(1056) 评论(0) 推荐(0)
  2015年9月2日
摘要: .NET 中 SVN版本冲突中 Files 的值“ < < < < < < < .mine”无效路径中具有非法字符的解决办法:一、1.将项目逐个进行编译,会弹出上面的错误,这时候将项目隐藏的文件全部显示,删除 /bin 和 /obj 目录,重新编译,这个时候上面的错误会减少,剩余几个错误,就说明有几... 阅读全文
posted @ 2015-09-02 17:37 邢帅杰 阅读(1498) 评论(0) 推荐(0)
  2015年9月1日
摘要: 1.创建对应的资源文件lang.en.resx 英文lang.resx 中文,默认lang.zh-tw.resx 繁体首先说明,这三个文件前面部分名称需要一样,只是 点 后面的语言代号不一样(en,空,zh-tw)。语言代号不要乱写,需要对应系统中对应的语言代号,下面会用到。创建完成后,只有默认的... 阅读全文
posted @ 2015-09-01 00:11 邢帅杰 阅读(1193) 评论(0) 推荐(0)