I have made a database.
CREATE TABLE tblreasons
(
PatientNo int not null,
Hobby int default 0,
BeforeAfterEating int default 0,
StressReliever int default 0,
DrinkingAlcohol int default 0,
Addiction int default 0,
SocialIntegration int default 0,
PeerPressure int default 0,
WeightControl int default 0,
Relaxation int default 0,
PRIMARY KEY(PatientNo)
);
I am using VB.NET. If the checkbox is checked, it should change the default value of 0 to 1 in my database. The unchecked checkboxes remains the same. Can you help me?[These are the photos of it.][1]
Aucun commentaire:
Enregistrer un commentaire