上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 52 下一页
摘要: 项目中的文件有被意外去掉了只读属性的。 VSS中签入状态的文件在本地都有只读属性。 如果VSS中是签入状态,而对应的本机文件没有只读状态,在获取最新版本的时候,就会弹出一个对话框提示签出还是用VSS中的版本覆盖本地版本。 阅读全文
posted @ 2016-08-22 09:58 lishidefengchen 阅读(852) 评论(0) 推荐(0)
摘要: 第一部:运行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)
摘要: 转载: 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)
摘要: 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)
摘要: 转载: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)
摘要: http://www.cnblogs.com/q149072205/p/4380944.html 1.先把数据库设置为简单模式(右击数据库名->点'属性'->点'选项'->恢复模式改成'简单'->点'确定'按钮,2.再执行下面的语句(或者右击数据库点'任务'->'收缩'->'文件',文件件类型选'日 阅读全文
posted @ 2016-07-27 14:47 lishidefengchen 阅读(1908) 评论(0) 推荐(0)
摘要: 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)
摘要: 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)
摘要: 参考文章: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)
摘要: //验证非负实数,保留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)
摘要: ... 阅读全文
posted @ 2016-06-20 11:11 lishidefengchen 阅读(245) 评论(0) 推荐(0)
摘要: location.replace(location.href);//刷新页面,不重复提交 阅读全文
posted @ 2016-06-12 11:42 lishidefengchen 阅读(394) 评论(0) 推荐(0)
摘要: 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)
摘要: public partial class _111111 : DbMigration { public override void Up() { CreateTable( "dbo.AssetBorrows", c => new ... 阅读全文
posted @ 2016-06-01 13:50 lishidefengchen 阅读(552) 评论(0) 推荐(0)
摘要: 更新程序后,如果还是报错,就把数据库中_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 下一页