呼叫方扩展程序的格式 [英] format of callender extender

查看:124
本文介绍了呼叫方扩展程序的格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



当我将格式应用于Callender扩展程序时,数据库将获得如下所示的值:YYYY-10-DD
日期和日期未填
源代码:

Hai

When i am applying format to my callender extender,database getting value like this :YYYY-10-DD
The year and date not filling
Source code:

<asp:TextBox ID="TxtPayDate6" runat="server">
   <cc1:CalendarExtender ID="TxtPayDate6_CalendarExtender"  runat="server"                                        TargetControlID="TxtPayDate6" Format="YYYY-MM-DD" FirstDayOfWeek="Sunday">

推荐答案

YYYY和DD不区分格式,因为它们区分大小写:MM是.尝试使用"yyyy-MM-dd".
YYYY and DD are not recognised format codes as they are case sensitive: MM is. Try "yyyy-MM-dd" instead.


这篇关于呼叫方扩展程序的格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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