Quantcast
Channel: Windows Forms General forum
Viewing all articles
Browse latest Browse all 12583

Capture Date CheckBox was Checked

$
0
0
I have a date/time field in my database that I want to populate with the date/time of when a checkbox was checked.  What would C# code be to do this?  I feel like I would do something like 
date endingDate;
endingDate = DateTime.Now.ToString("MM/dd/yyyy");
but I could be way off!

Viewing all articles
Browse latest Browse all 12583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>