不知道具体问题,高手进来看下
lg.Pwd = us.DESEncrypt(txt_PassWord.Text.Trim());
using LTLSysWebVoid.DataDB;using System;using System.Data;namespace LTLSysWebVoid{ public class User : BaseSqlHelper { public User(); public bool AddUser(string username, string password, string FRealyName, string FDeptID, string FPopedomID, string FUserID, string FPhoneNumber); public bool DeleteUser(string userid); public string DESDecrypt(string decryptstring); public string DESEncrypt(string encryptstring); public DataTable GetAgencyUser(string FAgencyID); public string GetMaxUserID(); public DataTable GetUserData(string userid); public bool IsExists(string strUserName); public bool IsTrue(int userid, string pwd); public bool LockUser(string userid); public bool LockUserByUserName(string FUserName); public bool UpdateUserORPwd(int userid, string password); public bool UpdateUserORPwd(string userid, string username, string FRealyName, string FDeptID, string FPopedomID, string FPhoneNumber); public bool UpdateUserORPwd(string userid, string username, string password, string FRealyName, string FDeptID, string FPopedomID, string FPhoneNumber); }}