摘要: Convert.ToDecimal("-123").ToString("#,#.##") 结果:-123 Convert.ToDecimal("-123.12").ToString("#,#.##") 结果:-123.12 Convert.ToDecimal(float.Parse(e.Value. 阅读全文
posted @ 2017-03-20 12:21 Jack He 阅读(318) 评论(0) 推荐(0) 编辑
摘要: FileStream fs=new FileStream(@"D:\6",FileMode.Open,FileAccess.Read); BinaryReader reader= new BinaryReader(fs); string fileclass=""; try{ ... 阅读全文
posted @ 2017-02-27 22:59 Jack He 阅读(6298) 评论(0) 推荐(0) 编辑
摘要: Html.DropDownList()赋默认值: 页面代码如下: list = new List { new SelectListItem { Text = "启用", Value = "0",Selected = true}, new SelectListItem { Text = "禁用", Value = "1"... 阅读全文
posted @ 2017-02-23 11:51 Jack He 阅读(164) 评论(0) 推荐(0) 编辑
摘要: DATEDIFF 函数 [日期和时间] 功能 返回两个日期之间的间隔。 语法 DATEDIFF ( date-part, date-expression-1, date-expression-2 ) date-part : year | quarter | month | week | day | hour | minute | second | millisecond 参数 date-... 阅读全文
posted @ 2017-02-22 15:56 Jack He 阅读(442) 评论(0) 推荐(0) 编辑
摘要: 截取字符串(指定长度) 把字符串转换成数字 使用正则表达式判断数字 Javascript IsNaN()函数 js 得到当前季度 阅读全文
posted @ 2017-02-20 16:37 Jack He 阅读(435) 评论(0) 推荐(0) 编辑
摘要: 无法将带 [] 的索引应用于“System.Dynamic.DynamicObject”类型的表达式 说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: Microsoft.CSharp.RuntimeBi 阅读全文
posted @ 2016-12-29 20:50 Jack He 阅读(5451) 评论(0) 推荐(1) 编辑
摘要: string path = "C:\\dir1\\dir2\\foo.txt"; string str = "GetFullPath:" + Path.GetFullPath(path) + "\r\n"; str += "GetDirectoryName:" + Path.GetDirectoryName(path) + "\r\n"; str += "GetFileName:" ... 阅读全文
posted @ 2016-11-24 11:43 Jack He 阅读(1949) 评论(0) 推荐(0) 编辑
摘要: 打开文件夹 Users\<CurrentUser>\AppData\Local\Microsoft\VisualStudio\<version> 删除文件夹 ComponentModelCache 重启 Visual Studio. 阅读全文
posted @ 2016-11-09 15:21 Jack He 阅读(2041) 评论(1) 推荐(1) 编辑
摘要: 1.http://www.c-sharpcorner.com/search/sql%20server%20reporting%20services 2.https://msdn.microsoft.com/zh-cn/library/ms156305(v=sql.105).aspx 3.http:/ 阅读全文
posted @ 2016-10-27 00:14 Jack He 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 报表服务器扩展部署是指共享单个报表服务器数据库的两个或更多个报表服务器实例。使用扩展部署可增加并发访问报表的用户数,并提高报表服务器的可用性。使用此部署拓扑时,虽然没有要求,但建议您使用相同的设置来配置报表服务器实例。您可以针对特定的功能配置每个服务器,并将它们作为独立的实例来运行,例如,希望交互式 阅读全文
posted @ 2016-10-27 00:09 Jack He 阅读(322) 评论(0) 推荐(0) 编辑