Server Error in '/' Application.

There is no row at position 0.

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: There is no row at position 0.

Source Error:


Line 37: 
Line 38: 
Line 39:         Page.Title = DS1.Tables("TBLnews").Rows(0).Item("FDtitle").ToString
Line 40:         LTtitle.Text = DS1.Tables("TBLnews").Rows(0).Item("FDtitle").ToString
Line 41:         LTtitle1.Text = DS1.Tables("TBLnews").Rows(0).Item("FDtitle").ToString

Source File: C:\Domains\davidduggleby.com\www\live\news\details.aspx.vb    Line: 39

Stack Trace:


[IndexOutOfRangeException: There is no row at position 0.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +125
   System.Data.DataRowCollection.get_Item(Int32 index) +19
   about_Default.Page_PreRender(Object sender, EventArgs e) in C:\Domains\davidduggleby.com\www\live\news\details.aspx.vb:39
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +154
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +4082


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