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 2814:            'Response.Write(Selekcija + "<br>")
Line 2815:
Line 2816:            LabelProductId.Text = dtSlike.Rows(0).Item("ProductsId").ToString
Line 2817:
Line 2818:            sqlSelect1 = "PodGrupacijaID,GrupacijaID,Title,TitleTranslated,UsersMainId, sifraProizvoda,webURL,Description,DescriptionTranslated,Quantity1, Price1 * " _

Source File: C:\Inetpub\vhosts\vinarija-jagunic.com\httpdocs\Modules\WebShop\Catalogue.ascx.vb    Line: 2816

Stack Trace:


[IndexOutOfRangeException: There is no row at position 0.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2441565
   System.Data.DataRowCollection.get_Item(Int32 index) +19
   cms_content_Catalogue.Page_PreRender(Object sender, EventArgs e) in C:\Inetpub\vhosts\vinarija-jagunic.com\httpdocs\Modules\WebShop\Catalogue.ascx.vb:2816
   System.Web.UI.Control.OnPreRender(EventArgs e) +11906436
   System.Web.UI.Control.PreRenderRecursiveInternal() +162
   System.Web.UI.Control.PreRenderRecursiveInternal() +256
   System.Web.UI.Control.PreRenderRecursiveInternal() +256
   System.Web.UI.Control.PreRenderRecursiveInternal() +256
   System.Web.UI.Control.PreRenderRecursiveInternal() +256
   System.Web.UI.Control.PreRenderRecursiveInternal() +256
   System.Web.UI.Control.PreRenderRecursiveInternal() +256
   System.Web.UI.Control.PreRenderRecursiveInternal() +256
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6875


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