摘要: http://www.baidu.com/link?url=Aj_xhOM5Q6rpZXkTMBPq4o0UbCO4eLq0esX8B3K2v06bkRS8F8lC4k06rv-3uZARLLTEKJHMhwzI_cdcJiHfqK&wd=&eqid=904bc71f0001817400000003 阅读全文
posted @ 2016-03-03 14:41 Danlis 阅读(2482) 评论(0) 推荐(0) 编辑
摘要: Tool->option->Source control->plug-in selection,选择ankhSVN AnkhSvn-2.5.12478.zip 阅读全文
posted @ 2016-02-27 10:08 Danlis 阅读(376) 评论(0) 推荐(0) 编辑
摘要: System.Net.Http相关dll 报错提示:500 Internal Server Error 测试站点上的问题,本地没出现这个问题 后来经提醒,试了一下将sina所需要的dll都放进去,就成功了。 大概是因为引用sina的dll,其所需要的dll并没有生成,发不上去后,bin文件下的dll 阅读全文
posted @ 2016-02-27 09:59 Danlis 阅读(274) 评论(0) 推荐(0) 编辑
摘要: http://www.w3school.com.cn/xml/xml_elements.asp <?xml version="1.0" encoding="gb2312"?><string xmlns="http://tempuri.org/">200,2014/5/6 0:06:05</strin 阅读全文
posted @ 2016-02-24 15:11 Danlis 阅读(485) 评论(0) 推荐(0) 编辑
摘要: 快捷键 用处 CTRL+U 转小写 Ctrl+Shift+U 转大写 Ctrl+Shift+F 文件夹查找 F12 转跳到方法接口 Shift+F12 鼠标焦点在接口上,转跳到接口对应的实现方法 Alt+F2 查看所有引用 Ctrl+TAB 切换文档窗口快捷键 Ctrl+F4 关闭当前文档窗口 Ct 阅读全文
posted @ 2016-02-20 15:53 Danlis 阅读(207) 评论(0) 推荐(0) 编辑
摘要: action: public ActionResult DeleteByID(int id) { this.MessageService.DeleteMailTemplate(id); var from = Request["from... 阅读全文
posted @ 2016-01-07 19:26 Danlis 阅读(684) 评论(0) 推荐(0) 编辑
摘要: 由于总忘记,先写一下。Console.WriteLine("输出转换空结果 ={0}", Convert.ToInt32("")); //Convert.ToInt32是不允许转换“”空值的,会报错Console.WriteLine("输出转换null结果={0}", Convert.ToInt32... 阅读全文
posted @ 2016-01-06 17:17 Danlis 阅读(5110) 评论(1) 推荐(0) 编辑
摘要: check路径是是否有效,网络访问地址。notfound查找不到,httpstatuscode枚举数较多,根据自己想要的设置就好了。public bool checkValid(string path) { HttpWebRequest request = Htt... 阅读全文
posted @ 2015-12-29 17:05 Danlis 阅读(451) 评论(0) 推荐(0) 编辑
摘要: 以ItemNo构造类,进行举例运行。GetValue获取值,有两个重载,一般使用的是两个参数的,第二个参数是如果选中的Model的属性是列表索引化的话,可以放索引值,不是索引化属性,则放nullusing System;using System.Collections.Generic;using S... 阅读全文
posted @ 2015-12-29 11:12 Danlis 阅读(1004) 评论(0) 推荐(0) 编辑
摘要: 设置datetime的格式,直接有方法重载进行,即使数据为datetime?格式设置起始时间在配置的时候添加设置$('#closeTime').datetimepicker({ language: 'zh-CN', startDate: "2016-01-01 00:00" });使用的是boots... 阅读全文
posted @ 2015-12-21 15:51 Danlis 阅读(592) 评论(0) 推荐(0) 编辑