Link to home
Start Free TrialLog in
Avatar of urjudo
urjudoFlag for United States of America

asked on

Check box in VB.net

Hi Experts,
I have a question in Vb.net Visual Studio 2019 community.  I'm just start to learning VB.net visual studio.  I have a form with a check box named Terminated, I would like to do is
1) when I check the checkbox, the UserLoginID then automatically move to the tblLoginID and delete from tblUser.
2). If I re-assigned the UserLoginID to tblUser then the userLoginID in tblLoginID will automatically delete .

Can it be done in vb.net?  I can do both cases in Access Database. can anyone please give me some advise or any sample will be appreciate!  also the code should be place in the Save button or the CheckBox

tblUser                                                                      tblLoginID
UserName
UserLoginID  -- > we assigned the ID#                UserLoginID
Terminated  -- > checkbox

Thanks,
Avatar of srikanthreddyn143
srikanthreddyn143

Didn’t quiet get your scenario but you can use valuechanged event for checkbox or while saving look for checkboxcontrol.checked property returns true if checkbox is checked
ASKER CERTIFIED SOLUTION
Avatar of ste5an
ste5an
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of urjudo

ASKER

Thanks!