def addData(): if (len(empID.get()) != 0): pb.addStdRec(empID.get(), Firstname.get(), Surname.get(), DoB.get(), Age.get(), Gender.get(), Adress.get(), Mobile.get()) empList.delete(0, END) empList.insert( END, (empID.get(), Firstname.get(), Surname.get(), DoB.get(), Age.get(), Gender.get(), Adress.get(), Mobile.get()))
def addData(): if (len(stdId.get()) != 0): pb.addStdRec(stdId.get(), Firstname.get(), Surname.get(), DoB.get(), Age.get(), Gender.get(), Adress.get(), Mobile.get()) studentlist.delete(0, END) studentlist.insert( END, (stdId.get(), Firstname.get(), Surname.get(), DoB.get(), Age.get(), Gender.get(), Adress.get(), Mobile.get()))