奇迹_落

博客园 首页 新随笔 联系 订阅 管理

2017年1月17日 #

摘要: C# 6.0 中的新特性 C# 6.0 中的新特性 我们可以对这些新特性一个一个的进行讨论,而首先要列出 C# 6.0 中这些特性的一个清单 1. 自动的属性初始化器Auto Property initialzier 之前的方式 1. 自动的属性初始化器Auto Property initialzi 阅读全文
posted @ 2017-01-17 18:18 奇迹_落 阅读(861) 评论(0) 推荐(0) 编辑

摘要: #region TreeView树形显示磁盘下文件夹 /// <summary> /// IconIndexs类 对应ImageList中5张图片的序列 /// </summary> private class IconIndexes { public const int MyComputer = 阅读全文
posted @ 2017-01-17 18:12 奇迹_落 阅读(278) 评论(0) 推荐(0) 编辑

摘要: 简单的MD5加密 首先要有一个加解密的规则 就是key 代码如下 // 创建Key public string GenerateKey() { DESCryptoServiceProvider desCrypto = (DESCryptoServiceProvider)DESCryptoServic 阅读全文
posted @ 2017-01-17 18:01 奇迹_落 阅读(409) 评论(0) 推荐(0) 编辑

摘要: 前台绑定数据: <div class="mailbox-content"> <table class="table"> <tbody> @using (Html.BeginForm()) { int i = 1; foreach (var item in Model) { <tr class="ta 阅读全文
posted @ 2017-01-17 17:34 奇迹_落 阅读(387) 评论(0) 推荐(0) 编辑