[FormatException: 该字符串未被识别为有效的 DateTime。]
System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) +11066810
System.Convert.ToDateTime(String value) +83
ArticleTemplate.DateFormat(String format, Object dateline) in d:\wwwroot\yining\wwwroot\App_Code\Home\ArticleTemplate.cs:32
ArticleTemplate.DateFormat(Object dateline) in d:\wwwroot\yining\wwwroot\App_Code\Home\ArticleTemplate.cs:37
[MethodInvocationException: Invocation of method 'DateFormat' in ArticleTemplate threw exception System.FormatException : 该字符串未被识别为有效的 DateTime。]
NVelocity.Runtime.Parser.Node.ASTMethod.Execute(Object o, IInternalContextAdapter context) +977
NVelocity.Runtime.Parser.Node.ASTReference.Execute(Object o, IInternalContextAdapter context) +447
NVelocity.Runtime.Parser.Node.ASTReference.Render(IInternalContextAdapter context, TextWriter writer) +60
NVelocity.Runtime.Parser.Node.SimpleNode.Render(IInternalContextAdapter context, TextWriter writer) +66
NVelocity.Template.Merge(IContext context, TextWriter writer) +138
Templates.Display(String templateName) in d:\wwwroot\yining\wwwroot\App_Code\Templates.cs:59
Index.ArticleDetailPage() in d:\wwwroot\yining\wwwroot\index.aspx.cs:189
[TargetInvocationException: 调用的目标发生了异常。]
System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor) +0
System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments) +192
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) +155
System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters) +19
Index.Page_Load(Object sender, EventArgs e) in d:\wwwroot\yining\wwwroot\index.aspx.cs:114
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
System.Web.UI.Control.OnLoad(EventArgs e) +92
System.Web.UI.Control.LoadRecursive() +54
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772
|