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 5807:        Public Default ReadOnly Property Item(ByVal index As Integer) As GATEWAY_PROMOTIONSRow
Line 5808:            Get
Line 5809:                Return CType(Me.Rows(index),GATEWAY_PROMOTIONSRow)
Line 5810:            End Get
Line 5811:        End Property

Source File: C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4cd6f6fa\6fff6db6\App_Code.u9pmfldp.4.vb    Line: 5809

Stack Trace:


[IndexOutOfRangeException: There is no row at position 0.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +115
   System.Data.RBTree`1.get_Item(Int32 index) +20
   System.Data.DataRowCollection.get_Item(Int32 index) +12
   GATEWAY_PROMOTIONSDataTable.get_Item(Int32 index) in C:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\4cd6f6fa\6fff6db6\App_Code.u9pmfldp.4.vb:5809
   _PromoDetails.Page_Load(Object sender, EventArgs e) in C:\Domains\gateway3\gatewayklia2.com.my\wwwroot\happenings\promotion_details.aspx.vb:14
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2602


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