如何设置日历的当前系统日期和时间 [英] How to do set the current System date and time for calender

查看:131
本文介绍了如何设置日历的当前系统日期和时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何设置日历的当前系统日期和时间

How to do set the current System date and time for calender

推荐答案

如果它是asp.net,则该textbox.text = today.date(文本框u与日历绑定),然后在日历选择更改事件中绑定日历选择的日期.
if it''s asp.net then that textbox.text=today.date (textbox u are binding with the calender) then on calender selectionchanged event u bind the calender selected date.


<asp:calendar id="Calendar1" runat="server" selecteddate="<%# DateTime.Now %>" xmlns:asp="#unknown" />


这篇关于如何设置日历的当前系统日期和时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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