Chat LIVE With Programming Experts! There Are 23 Online Right Now...

Welcome to Dream.In.Code
Become a VB.NET Expert!

Join 244,297 VB.NET Programmers for FREE! Get instant access to thousands of VB.NET experts, tutorials, code snippets, and more! There are 849 people online right now. Registration is fast and FREE... Join Now!




date time picker

 
Reply to this topicStart new topic

date time picker

concourse
7 Jan, 2009 - 04:19 AM
Post #1

New D.I.C Head
*

Joined: 3 Jan, 2009
Posts: 6

i am selecting 1 row in listview then i want its column should display start date.
i am using DTP in vb.net to select start date.
once date is selected by the user in DTP it will be displayed in listview of selected row.
when i click on next row in listview the DTP should show todays date as default date and not previously selected date. BUT in my code it is showing the previously selected date. blink.gif
how do i refresh date in DTP???
plz help me

thanks in advance......



User is offlineProfile CardPM
+Quote Post


nofear217
RE: Date Time Picker
7 Jan, 2009 - 06:17 AM
Post #2

D.I.C Regular
Group Icon

Joined: 8 Nov, 2007
Posts: 316



Thanked: 7 times
Dream Kudos: 175
My Contributions
vb

DTP.Value = Date.Now


is the easiest way to set the datetime picker to the current date's value.
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 7/4/09 04:45PM

Live VB.NET Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

VB.NET Tutorials

Reference Sheets

VB.NET Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month