摘要: //更改属性 this.listView1.GridLines = true; //显示表格线 this.listView1.View = View.Details;//显示表格细节 this.listView1.LabelEdit = true; //是否可编辑,ListView只可编辑第一列。 this.listView1.Scrollable = true;//有滚动条 this.listV... 阅读全文
posted @ 2010-10-06 10:09 我心依然 阅读(3670) 评论(0) 推荐(1) 编辑
摘要: 1、方法一(不可逆加密)publicstringEncryptPassword(stringPasswordString,stringPasswordFormat){stringencryptPassword=null;if(PasswordFormat="SHA1"){encryptPassword=FormsAuthortication.HashPasswordForStoringInConf... 阅读全文
posted @ 2010-10-06 00:03 我心依然 阅读(2047) 评论(0) 推荐(0) 编辑