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 5380:        Public Default ReadOnly Property Item(ByVal index As Integer) As GATEWAY_EVENTSRow
Line 5381:            Get
Line 5382:                Return CType(Me.Rows(index),GATEWAY_EVENTSRow)
Line 5383:            End Get
Line 5384:        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: 5382

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_EVENTSDataTable.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:5382
   _EventDetails.Page_Load(Object sender, EventArgs e) in C:\Domains\gateway3\gatewayklia2.com.my\wwwroot\ch\happenings\event_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