摘要: 使用FormsAuthentication.HashPasswordForStoringInConfigFile("需要加密的字符串", "MD5")这个方法进行加密时,编译器显示“FormsAuthentication上下文不存在”。下面是部分代码,for(Int32 i = 100; i <= 1750; i++){ String ii = i.ToString(); string strmd5 = FormsAuthentication.HashPasswordForStoringInConfigFile(ii, "md5" 阅读全文
posted @ 2013-12-19 16:15 lmei 阅读(1082) 评论(0) 推荐(0) 编辑
摘要: 我的第一个c#练习程序,果然又出现问题了。。。在Form1_Load() not work。估计我的人品又出现问题了。下面实现的功能很简单,就是声明一个label1然后,把它初始化赋值为hello,然后点击它的时候,它显示改为world。代码如下:using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Windows.Forms; 阅读全文
posted @ 2013-12-19 13:05 lmei 阅读(13258) 评论(0) 推荐(4) 编辑