Ejemplo n.º 1
0
        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;
        }
 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;
 }