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 192:        objConn.Close()
Line 193:
Line 194:        Page.Title = Replace(DS1.Tables("auctions").Rows(0).Item("AuctionName").ToString, "&", "&")
Line 195:        litBreadcrumbText.Text = DS1.Tables("auctions").Rows(0).Item("AuctionName")
Line 196:        ' litBreadcrumbText.Text = "<a href="/auctions/" & Replace(DS1.Tables("auctions").Rows(0).Item("AuctionDate"), "/", "") & DS1.Tables("auctions").Rows(0).Item("AuctionNo") & "/" & eightlegged.stripURL(DS1.Tables("auctions").Rows(0).Item("AuctionName")) & ".aspx" id="auctionlink2">" & DS1.Tables("auctions").Rows(0).Item("AuctionName") & "</a>"

Source File: C:\Domains\davidduggleby.com\www\live\auctions\livedetails.aspx.vb    Line: 194

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
   shopping_product.LoadAuction() in C:\Domains\davidduggleby.com\www\live\auctions\livedetails.aspx.vb:194
   shopping_product.Page_Load(Object sender, EventArgs e) in C:\Domains\davidduggleby.com\www\live\auctions\livedetails.aspx.vb:23
   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