displaying date from the database into a date time picker control

earlboy

New member
Joined
Aug 25, 2005
Messages
2
Programming Experience
5-10
Hi all,

I'm trying to display a date column from a record in a table into a date time picker in VB.NET.
In the form designer, I've set the binding properties the date time picker to the ff:

Text = mydataset.businessdate.startdate

But when I run my program, the current date is still displayed. Tried using the value property instead, but still got the same result.
I've searched the web, but couldn't find any anwers to this problem.

Please help.
 
So sorry. I found the problem. It was my fault. I was binding the control to both the value and text property of the Date Time picker.

It's fixed now.

Again sorry for posting this question.
 
Back
Top