上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 65 下一页
摘要: // non debug mode from:https://social.msdn.microsoft.com/Forums/vstudio/en-US/221c9385-e2a8-4630-b2f5-f4eabfd62df5/programmatically-detect-whenever-te 阅读全文
posted @ 2018-06-19 15:24 94cool 阅读(186) 评论(0) 推荐(0)
摘要: from:http://blog.163.com/rihui_7/blog/static/212285143201381343240404/ 返回受上一语句影响的行数。 如果行数大于 20 亿,请使用 ROWCOUNT_BIG。 Transact-SQL 语法约定语法@@ROWCOUNT 返回类型i 阅读全文
posted @ 2018-04-27 16:44 94cool 阅读(6826) 评论(0) 推荐(0)
摘要: 以修改5节点非安全模式为例: 在C:\Program Files\Microsoft SDKs\Service Fabric\ClusterSetup\NonSecure\FiveNode目录下,修改文件【ClusterManifestTemplate.json】的权限,然后将此文件里的%systemdrive%替换为要更改的目录(例:d:) 阅读全文
posted @ 2018-03-22 16:50 94cool 阅读(766) 评论(0) 推荐(1)
摘要: Service Fabric下删除实例并注销应用: 以应用名称:Application1为例 1、打开PowerShell 2、连接集群: Connect-ServiceFabricCluster -ConnectionEndpoint localhost:19000 3、删除实例: Remove-ServiceFabricApplication -ApplicationName fabr... 阅读全文
posted @ 2018-03-22 11:39 94cool 阅读(591) 评论(0) 推荐(0)
摘要: if (txbValue.InvokeRequired) txbValue.Invoke(new MethodInvoker(delegate() { txbValue.Text = “test”; })); 阅读全文
posted @ 2018-03-07 17:39 94cool 阅读(377) 评论(0) 推荐(0)
摘要: mongo文档【tblEvent】如下: { "_id" : ObjectId("5a0415f9bf28b684b1c7f5b2"), "citycode" : 3501, "startTime" : ISODate("2016-01-02T00:00:00.000+0800"), "endTime" : ISODate("2016... 阅读全文
posted @ 2018-03-05 15:54 94cool 阅读(3627) 评论(0) 推荐(0)
摘要: c#: /// /// 完整 /// public class TripleDESHelper1 { public static string Encrypt(string aStrString, string aStrKey, CipherMode mode = CipherMode.ECB, string iv ... 阅读全文
posted @ 2018-01-22 10:21 94cool 阅读(2560) 评论(0) 推荐(0)
摘要: 样例数据: { "cNo" : "11", "Details" : [ { "dDate" : ISODate("2017-04-01T00:00:00.000+0800"), "bNo" : "No00000000497" }, { ... 阅读全文
posted @ 2018-01-18 14:32 94cool 阅读(3608) 评论(0) 推荐(0)
摘要: 项目目录:SourceCode\公共组件\KApiClient\ 要复制的目的目录: SourceCode\公共组件\DllLibrary\ApiClient 则在项目 KApiClient下添加如下: Set OD="$(ProjectDir)..\DllLibrary\ApiClient" attrib "%OD%\$(TargetName).*" -r -a ... 阅读全文
posted @ 2018-01-12 11:40 94cool 阅读(2616) 评论(0) 推荐(0)
摘要: public static bool IsPropertyExist(dynamic data, string propertyname) { if (data is ExpandoObject) return ((IDictionary<string, object>)data).Contains 阅读全文
posted @ 2017-12-28 14:36 94cool 阅读(10661) 评论(0) 推荐(2)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 65 下一页