Server Error in '/' Application.

String was not recognized as a valid DateTime.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: String was not recognized as a valid DateTime.

Source Error:


Line 24:     
Line 25:

<%=Ntitle%>

Line 26:

鏃堕棿锛?lt;%=DateTime.Parse(AddTime).ToLongDateString().ToString()%> 鏉ユ簮锛?lt;a href="<%=SourceSite%>" target="_blank"><%=ArticleFrom%> 浣滆€咃細<%=Nwriter%>

Line 27:
Line 28: <%=NewContent%>

Source File: d:\autoec\xwxqy.aspx    Line: 26

Stack Trace:


[FormatException: String was not recognized as a valid DateTime.]
   System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles) +167
   ASP.xwxqy_aspx.__Renderform1(HtmlTextWriter __w, Control parameterContainer) in d:\autoec\xwxqy.aspx:26
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +131
   System.Web.UI.HtmlControls.HtmlForm.RenderChildren(HtmlTextWriter writer) +307
   System.Web.UI.HtmlControls.HtmlContainerControl.Render(HtmlTextWriter writer) +48
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +246
   System.Web.UI.Page.Render(HtmlTextWriter writer) +40
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4943


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1