troubleshooting Question

Code for check box in Delete button on a Windows Form in VB.net

Avatar of urjudo
urjudoFlag for United States of America asked on
Visual Basic.NETMicrosoft Visual Studio
6 Comments1 Solution47 ViewsLast Modified:
Hi Experts,
I have a question about the code for check box in VB.net visual Studio.
I have a Delete button in a windows form, I would lie to do is when users click  the Delete button, it will automatically set the record to true in the SQL server instead remove the delete in SQL server.  I have the field name RecDelete in the SQL table.  I also placed this RecDelete field as a label on the form, but having trouble to figure it out the code.  I tried Me.recdeletelbl.text = true in the Delete Button, but it doesn't work.  and I tried me.recdelete.checked = true, it doesn't work either.  any help would be appreciated.

Thanks
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 6 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros