/// <summary> /// 修改密碼 /// </summary> /// <param name="Pwd"></param> public void UpdatePwd(String Pwd) { IzDataSource IzDataSource = new IzDataSource(); IzDataSource.UpdateCommand = "update tbUsr set tbUsrPwd=@tbUsrPwd where tbUsrCde=@tbUsrCde"; IzDataSource.UpdateParameters.Add("tbUsrPwd", Pwd); IzDataSource.UpdateParameters.Add("tbUsrCde", UsrCde); IzDataSource.Update(); IzDataSource.Dispose(); }