In this simple vb.net example,we see how to get and show in message box or set date using the datetimepicker vb.net component.
Public Class Form1
Dim d As String = ""
Private Sub retrieveBtn_Click(sender As Object, e As EventArgs) Handles retrieveBtn.Click
d = DateTimePicker1.Value.ToString()
Private Sub setBtn_Click(sender As Object, e As EventArgs) Handles setBtn.Click
d = "10/2/2030"
DateTimePicker1.Value = d
How do You Feel after reading this?
According to scientists, we humans have 8 primary innate emotions:
joy, acceptance, fear, surprise, sadness, disgust, anger, and
Feel free to tell us how you feel about this article using these
emotes or via the comment section.
After completing his Software Engineering bachelors program, Oclemy(Clement Ochieng) these days is a man of two lives. At day he works for a startup in Nairobi, Kenya.
At night he works tirelessly on building ProgrammingWizards TV
, a tv channel for student coders and
this website to help share the source code. In between he practices Meditation and Self actualization to help him keep balance. He also likes
going for long solo walks to connect more with nature.