private void CalculateUsage() { ACMSDAL.TblMemberPackage memberPackage = new ACMSDAL.TblMemberPackage(); memberPackage.NPackageID = myPackageID; DataTable tblmemberpackage = memberPackage.SelectOne(); ACMSDAL.TblPackage myPackage = new ACMSDAL.TblPackage(); myPackage.StrPackageCode = tblmemberpackage.Rows[0]["strPackageCode"].ToString(); DataTable tblPackage = myPackage.SelectOne(); mUsageAmount = ACMS.Convert.ToDecimal(tblPackage.Rows[0]["mBaseUnitPrice"]) * myMemberPackageSession; }
public override void Refresh() { ACMSDAL.TblPackage sqlPackage = new ACMSDAL.TblPackage(); myDataTable = sqlPackage.GetValidPackageFromBranchForCreditPackageUsage(ACMSLogic.User.BranchCode, myCreditPackageID); Init(); }