主要代码:
复制代码 代码如下:
runat="server" TargetControlID="TextBox1" >
CalendarExtender的 Format属性设置 时间的显示格式
另:PopupButtonID属性是设置一个button控件的ID 点击该控件则展开calendarExtender
如下:
复制代码 代码如下:
runat="server" />
scriptManager的EnablescriptGlobalization属性 和EnablescriptLocalization属性设置为 true则 控件为中文
具体scriptManager的属性方法还在学习中。



