关于c#中的日历控制 [英] Regarding calendar control in c#

查看:108
本文介绍了关于c#中的日历控制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hai



我在.net应用程序中使用2个日历控件和一个文本框。



名称,开始时间,结束时间

文本框,日历1,日历2



如果我选择日历控件,它将显示日期和时间总是显示12:00:00 AM。我想显示开始时间的当前日期时间和结束时间的未来日期时间。我怎样才能实现这个目标。





谢谢提前。

Hai

I am using 2 calendar controls and a text box in my .net application.

Name,Starttime,endtime
Textbox,Calendar1,calendar2

If i am selecting the calendar control it will display the date and the time is always displaying "12:00:00AM". I want to display the current date time for start time and future date time for end time.How can i achieve this.


Thanks in advance.

推荐答案

我认为你应该使用时间选择器,或者你甚至可以得到当前时间(不是像当前时间一样,但是当前时间)

对你的确切要求是什么?
I think u should use a time picker with that or u can even get the current time (not like the same time always but the current time)
what's the exact requirement for u?


我认为你的问题在Ajax DateTime Picker的帮助下解决了,试试这个链接点击,查看任何查询和信息。
I think your problem solve with the help of Ajax DateTime Picker, Try this link Click , for any query and information hit the reply.


这篇关于关于c#中的日历控制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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