显示从数据库到DTpicker的日期 [英] Show Date from Database to DTpicker

查看:78
本文介绍了显示从数据库到DTpicker的日期的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

请指导我如何从数据库中显示Dtpicker中的日期时间.

其中,数据作为数据存储在Datatime领域的数据库中.

Dear All,

Kindly guide me How I can show the Datetime in Dtpicker from a database.

Where as data stored in a database in Datatime feild.

Kindly guide me.

推荐答案

您可以在下面的链接中进行日期选择器控制操作.

You could refer below link for datepicker control operation.

http://www.builderau.com.au/program/vb/soa/Learn-how-to-use-the-DateTimePicker-control-in-VB-NET/0,339028462,339281457,00.htm[^]

Inside the article you will find the variable Now, There put your database retrived date value by casting it to DateTime object.

Please Vote and Accept answer if it helped.


这篇关于显示从数据库到DTpicker的日期的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆