Server Error in '/' Application.

Index was outside the bounds of the array.

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.IndexOutOfRangeException: Index was outside the bounds of the array.

Source Error:


Line 17:                             <tr>
Line 18:                                 <td align="left">
Line 19:                                     <%#PagingContent(Eval("newDetail").ToString())%>    
Line 20:                                 </td>
Line 21:                             </tr>  

Source File: d:\Hosting\thnvietnam.com\www\cms\news\u_news_detail.ascx    Line: 19

Stack Trace:


[IndexOutOfRangeException: Index was outside the bounds of the array.]
   cms_news_u_news_detail.PagingContent(String strContent) +919
   ASP.cms_news_u_news_detail_ascx.__DataBind__control3(Object sender, EventArgs e) in d:\Hosting\thnvietnam.com\www\cms\news\u_news_detail.ascx:19
   System.Web.UI.Control.OnDataBinding(EventArgs e) +132
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +170
   System.Web.UI.Control.DataBindChildren() +11162815
   System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) +182
   System.Web.UI.WebControls.Repeater.CreateControlHierarchy(Boolean useDataSource) +674
   System.Web.UI.WebControls.Repeater.OnDataBinding(EventArgs e) +68
   cms_news_u_news_detail.ViewDetailnews() +1521
   cms_news_u_news_detail.Page_Load(Object sender, EventArgs e) +658
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
   System.Web.UI.Control.OnLoad(EventArgs e) +132
   System.Web.UI.Control.LoadRecursive() +66
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Control.LoadRecursive() +191
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428


Version Information: Microsoft .NET Framework Version:2.0.50727.8974; ASP.NET Version:2.0.50727.8974