数据库
AngelLiujia
这个作者很懒,什么都没留下…
展开
-
数据加密-无聊杂谈
最简单的一种是:第一加密:string e= System.Web.Security.FormsAuthentication. HashPasswordForStoringInConfigFile(输入的变量md5");第二解密;首先得到上次加密的字符串如bif(b==System.Web.Security.FormsAuthentication.HashPasswordFor原创 2006-11-11 21:49:00 · 728 阅读 · 0 评论 -
DataView 检索的时候输入双条件
DataView.RowFilter = "字段1=333 and 字段12=333";为此我发现在搜索的时候,可以像写SQL那样哦~~原创 2006-11-11 12:54:00 · 844 阅读 · 0 评论 -
忘不了的恨~~SqlDataReader
mysqlconnection.Open();//必要的打开 System.Data.SqlClient.SqlDataReader myDataReader = myCommand.ExecuteReader(CommandBehavior.CloseConnection); myDataReader.Read();//必要原创 2006-11-13 22:35:00 · 825 阅读 · 0 评论