12 2012 档案

摘要:string s;//將s加密System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(s,"MD5")使用MD5加密,加密不可逆 阅读全文
posted @ 2012-12-20 17:51 曉軒 阅读(203) 评论(0) 推荐(0)
摘要:在给数据库添加自动备份代理时,首先需要启动 SQLServer Agent ,若启动不成功,可能是系统的密码被更改了,今天我就遇到这个问题了;以下是我在网络上找的方法,我都是试过了,不能解决我的疑问,不过先贴上来,给大家看看,最后在说我的方法:方法1: 把administrator改成密码为空;方法2: 把sqlserver登陆的密码改成administrator的密码。具体方法为打开服务管理器,找到MSSQLSERVER打开属性下的登陆选项卡,单击此帐户单选按钮,单击浏览,找到administrator确定,确定。从新启动计算机方法3: administrator密码不更改,重新建立一个系统 阅读全文
posted @ 2012-12-12 17:43 曉軒 阅读(604) 评论(0) 推荐(0)
摘要:直接上方法,至于怎么调用,偶想大家应该会的using Microsoft.Win32;using System;using System.Windows.Forms;namespace Lambda{ public class ModifyRegistry { private bool showError = false; private string subKey = "SOFTWARE\\、、、、、、、";//select where you want private Microsoft.Win32.RegistryKey baseRegistryKey = Micro 阅读全文
posted @ 2012-12-05 09:50 曉軒 阅读(303) 评论(0) 推荐(0)