会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lishidefengchen
首页
新随笔
管理
上一页
1
···
38
39
40
41
42
43
44
45
46
···
52
下一页
2016年8月22日
vs获取最新时,提示签出解决方案
摘要: 项目中的文件有被意外去掉了只读属性的。 VSS中签入状态的文件在本地都有只读属性。 如果VSS中是签入状态,而对应的本机文件没有只读状态,在获取最新版本的时候,就会弹出一个对话框提示签出还是用VSS中的版本覆盖本地版本。
阅读全文
posted @ 2016-08-22 09:58 lishidefengchen
阅读(852)
评论(0)
推荐(0)
2016年8月10日
使用工具自动生成Linq类文件
摘要: 第一部:运行cmd. 执行命令 cd C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools第二步:执行 sqlmetal /server:. /database:iWSStorageCloud /user:
阅读全文
posted @ 2016-08-10 09:56 lishidefengchen
阅读(262)
评论(0)
推荐(0)
2016年8月8日
DateTime.MinValue和MaxValue引发的异常
摘要: 转载: http://www.cnblogs.com/lori/p/3186807.html 问题描述: SqlDateTime 溢出。必须介于 1/1/1753 12:00:00 AM 和 12/31/9999 11:59:59 PM 之间 概念相关 .Net中的DateTime结构类中的MinV
阅读全文
posted @ 2016-08-08 15:08 lishidefengchen
阅读(6201)
评论(0)
推荐(0)
2016年8月5日
C# AD 验证登陆
摘要: using System.DirectoryServices; using System.DirectoryServices.AccountManagement; using (DirectoryEntry adsEntry = new DirectoryEntry("LDAP://test.com", userName, password, AuthenticationTypes.Sec...
阅读全文
posted @ 2016-08-05 14:24 lishidefengchen
阅读(1160)
评论(0)
推荐(0)
2016年8月4日
HttpWebRequest的GetResponse或GetRequestStream偶尔超时 + 总结各种超时死掉的可能和相应的解决办法
摘要: 转载:http://www.crifan.com/fixed_problem_sometime_httpwebrequest_getresponse_timeout/ 【问题】 用C#模拟网页登陆,其中去请求几个页面,会发起对应的http的请求request,其中keepAlive设置为true,提
阅读全文
posted @ 2016-08-04 16:25 lishidefengchen
阅读(291)
评论(0)
推荐(0)
2016年7月27日
清理sqlserver 2012 日志文件
摘要: http://www.cnblogs.com/q149072205/p/4380944.html 1.先把数据库设置为简单模式(右击数据库名->点'属性'->点'选项'->恢复模式改成'简单'->点'确定'按钮,2.再执行下面的语句(或者右击数据库点'任务'->'收缩'->'文件',文件件类型选'日
阅读全文
posted @ 2016-07-27 14:47 lishidefengchen
阅读(1908)
评论(0)
推荐(0)
2016年7月18日
List<Object> 使用Linq
摘要: List bdList = allAsset.Where(m => m.Owner.Depts == view.DeptName).ToList(); var query = from item in bdList group item by new ...
阅读全文
posted @ 2016-07-18 17:03 lishidefengchen
阅读(520)
评论(0)
推荐(0)
2016年7月6日
查看工作流详情页面
摘要: function assetDetailWF(titleText, wfId) { if (wfId != undefined && wfId != "") { var options = { url: "/wf/_layouts/15/iws.wf.site/pages/InstanceSheets.aspx?Insta...
阅读全文
posted @ 2016-07-06 10:15 lishidefengchen
阅读(336)
评论(0)
推荐(0)
2016年7月5日
java程序调用.net接口服务地址的写法
摘要: 参考文章:http://download.csdn.net/detail/davidiao/7424767 http://www.cnblogs.com/mq0036/p/3554002.html .asmx?wsdl 注意:?wsdl 一定要加上,否则会报错。
阅读全文
posted @ 2016-07-05 10:58 lishidefengchen
阅读(420)
评论(0)
推荐(0)
2016年6月29日
js校验金额输入
摘要: //验证非负实数,保留2位小数,不采取四舍五入,不能去掉无效零,obj是this //示例: function IWS_CheckDecimal(obj) { var temp = /^\d+\.?\d{0,2}$/; if (temp.test(obj.value)) { } else { obj.value = obj.value.substr(0, ...
阅读全文
posted @ 2016-06-29 18:09 lishidefengchen
阅读(10931)
评论(2)
推荐(2)
2016年6月20日
C# Repeater 嵌套
摘要: ...
阅读全文
posted @ 2016-06-20 11:11 lishidefengchen
阅读(245)
评论(0)
推荐(0)
2016年6月12日
JavaScript刷新页面,不重复提交
摘要: location.replace(location.href);//刷新页面,不重复提交
阅读全文
posted @ 2016-06-12 11:42 lishidefengchen
阅读(394)
评论(0)
推荐(0)
2016年6月1日
Migration-添加表(加外键)
摘要: public partial class _222 : DbMigration { public override void Up() { //DropForeignKey("dbo.Assets", "AssetBorrow_Id", "dbo.AssetBorrows"); //DropIndex("d...
阅读全文
posted @ 2016-06-01 13:51 lishidefengchen
阅读(503)
评论(0)
推荐(0)
Migration-添加表
摘要: public partial class _111111 : DbMigration { public override void Up() { CreateTable( "dbo.AssetBorrows", c => new ...
阅读全文
posted @ 2016-06-01 13:50 lishidefengchen
阅读(552)
评论(0)
推荐(0)
2016年5月25日
Migrations中的更新语句写法,摘要
摘要: 更新程序后,如果还是报错,就把数据库中_MigrationsHistory这个表删除了,再试一下,应该就会好了。而_MigrationsHistory这个表会在下次执行Migrations命令的时候自动创建,所以不必担心删除了,后续无法运行Migrations命令。
阅读全文
posted @ 2016-05-25 19:54 lishidefengchen
阅读(310)
评论(0)
推荐(0)
上一页
1
···
38
39
40
41
42
43
44
45
46
···
52
下一页
公告