posts - 609,  comments - 13,  views - 64万
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
09 2015 档案
.NET发送请求(get/post/http/https),携带json数据,接收json数据
摘要:C#发送https请求有一点要注意: ServicePointManager.ServerCertificateValidationCallback = new RemoteCertificateValidationCallback(CheckValidationResult); httpReque 阅读全文
posted @ 2015-09-18 17:27 邢帅杰 阅读(1878) 评论(0) 推荐(0) 编辑
.NET 发送邮件
摘要://邮件配置 public static string mail_smtp = System.Configuration.ConfigurationManager.AppSettings["mail_smtp"]; public static string mail_ma... 阅读全文
posted @ 2015-09-15 20:18 邢帅杰 阅读(137) 评论(0) 推荐(0) 编辑
对于某些浏览器不支持placeholder的解决办法
摘要:$(function () { if (!placeholderSupport()) { $('[placeholder]').focus(function () { var input = $(this); if (input.val() == input.attr('placeholder'))... 阅读全文
posted @ 2015-09-14 17:07 邢帅杰 阅读(296) 评论(0) 推荐(0) 编辑
sqlserver查询区分大小写
摘要:例子: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 邢帅杰 阅读(793) 评论(0) 推荐(0) 编辑
js回车、ESC、F2按钮事件
摘要: 阅读全文
posted @ 2015-09-10 11:32 邢帅杰 阅读(821) 评论(0) 推荐(0) 编辑
WebAPI 抛出HttpResponseException异常
摘要:[HttpGet] public List GetList() { try { List list = new List(); list.Add(new UserInf... 阅读全文
posted @ 2015-09-06 21:44 邢帅杰 阅读(1049) 评论(0) 推荐(0) 编辑
SVN版本冲突中 Files 的值“ < < < < < < < .mine”无效路径中具有非法字符的解决办法
摘要:.NET 中 SVN版本冲突中 Files 的值“ < < < < < < < .mine”无效路径中具有非法字符的解决办法:一、1.将项目逐个进行编译,会弹出上面的错误,这时候将项目隐藏的文件全部显示,删除 /bin 和 /obj 目录,重新编译,这个时候上面的错误会减少,剩余几个错误,就说明有几... 阅读全文
posted @ 2015-09-02 17:37 邢帅杰 阅读(1455) 评论(0) 推荐(0) 编辑
.NET资源文件实现多语言切换
摘要:1.创建对应的资源文件lang.en.resx 英文lang.resx 中文,默认lang.zh-tw.resx 繁体首先说明,这三个文件前面部分名称需要一样,只是 点 后面的语言代号不一样(en,空,zh-tw)。语言代号不要乱写,需要对应系统中对应的语言代号,下面会用到。创建完成后,只有默认的... 阅读全文
posted @ 2015-09-01 00:11 邢帅杰 阅读(1093) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示