摘要: class App { static void Main(string[] argv) { int len = 12; if (argv.Length > 0) len = int.Parse(argv[0]); byte[] buff = new byte[len / 2]; RNGCryptoServiceProvider rng = new RNGCryptoServiceProvid... 阅读全文
posted @ 2010-02-16 23:59 greencolor 阅读(112) 评论(0) 推荐(0) 编辑
摘要: Configuration for SQL Server Session Modeadd <sessionState mode="SQLServer" sqlConnectionString="data source=.; user id=sa;password=sa"/>In SQL Server Session mode, we are storing session data i... 阅读全文
posted @ 2010-02-16 22:52 greencolor 阅读(368) 评论(0) 推荐(0) 编辑
摘要: New class in Asp.net locates in App_code folder, if not, the new class will be not visable in the website 阅读全文
posted @ 2010-02-16 22:18 greencolor 阅读(98) 评论(0) 推荐(0) 编辑
摘要: IsPostBack所指一般为第二次及其以后的访问!IsPostBack才为首次访问 一个页面第一次显示的时候 IsPostBack=false 然后你在这个页面上点击按钮或其它东西如刷新提交的时候, IsPostBack=true 阅读全文
posted @ 2010-02-16 20:22 greencolor 阅读(203) 评论(0) 推荐(0) 编辑