def mDeleteData(): mBindData() savobjbal = SavingAccounts(beobj.mGetAccno(), beobj.mGetAccname(), beobj.mGetAcctype(), beobj.mGetAmount()) mydata = savobjbal.mDeleteDataBal(beobj.mGetAccno())
def delete(): accno = request.form.get("Acc_no") savobj = SavingAccounts() savobj.mDeleteDataBal(accno=accno) accdetails = savobj.mSearchDataAllBal() return render_template('ShowAllData.html', accdetails=accdetails)