上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 49 下一页
摘要: 引入:using System.Web.Security;public static string md5(string password, int codeLength){ if (!string.IsNullOrEmpty(password)) { if (codeLe... 阅读全文
posted @ 2015-04-09 16:20 ChineseMoonGod 阅读(148) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/ymj126/p/3712727.html#undefined 阅读全文
posted @ 2015-04-05 16:15 ChineseMoonGod 阅读(257) 评论(0) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.IO;using System.Data.SqlClient;using System.Data;using ... 阅读全文
posted @ 2015-03-14 16:46 ChineseMoonGod 阅读(1845) 评论(0) 推荐(0)
摘要: 1.Vector怎么引用 阅读全文
posted @ 2015-02-26 13:53 ChineseMoonGod 阅读(107) 评论(0) 推荐(0)
摘要: 线程池: “线程池”是可以用来在后台执行多个任务的线程集合。(有关背景信息,请参见使用线程处理。)这使主线程可以自由地异步执行其他任务。线程池通常用于服务器应用程序。每个传入请求都将分配给线程池中的一个线程,因此可以异步处理请求,而不会占用主线程,也不会延迟后续请求的处理。一旦池中的某个线程完... 阅读全文
posted @ 2015-02-04 13:01 ChineseMoonGod 阅读(349) 评论(0) 推荐(0)
摘要: Code Contracts for .NEThttps://visualstudiogallery.msdn.microsoft.com/1ec7db13-3363-46c9-851f-1ce455f66970 阅读全文
posted @ 2015-02-02 15:44 ChineseMoonGod 阅读(235) 评论(0) 推荐(0)
摘要: function box() { return arguments[0] + '|' + arguments[1]; } alert(box(1, 2, 3, 4, 5, 6));输出:1|2说明:1 ECMAScript 函数不介意传递进来多少参数,也不会因为参数不统一而错误。实际上,函数体内可... 阅读全文
posted @ 2015-01-29 16:18 ChineseMoonGod 阅读(2087) 评论(0) 推荐(0)
摘要: cs代码using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using System.... 阅读全文
posted @ 2015-01-28 10:20 ChineseMoonGod 阅读(201) 评论(0) 推荐(0)
摘要: 最近做一个用ASP.NET做一个小项目,用户不是很多,功能不算太复杂,但是做到权限控制的时候有点犯难,这么一个小系统如果全部做一个大的复杂的权限控制觉得成本不划算,打算用Treeview,根据不同的用户,加载不同的用户web.sitemap文件实现简单的分用户,分模块的权限控制,具体实现如下:首先在... 阅读全文
posted @ 2015-01-22 12:40 ChineseMoonGod 阅读(1429) 评论(0) 推荐(0)
摘要: SmtpClient smtp = new SmtpClient(); //实例化一个SmtpClient smtp.DeliveryMethod = SmtpDeliveryMethod.Network; //将smtp的出站方式设为 Network smtp.EnableSsl = true; 阅读全文
posted @ 2015-01-02 13:39 ChineseMoonGod 阅读(451) 评论(0) 推荐(0)
上一页 1 ··· 38 39 40 41 42 43 44 45 46 ··· 49 下一页