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 4627:        Public Default ReadOnly Property Item(ByVal index As Integer) As GATEWAY_MAIN_CONTENTRow
Line 4628:            Get
Line 4629:                Return CType(Me.Rows(index),GATEWAY_MAIN_CONTENTRow)
Line 4630:            End Get
Line 4631:        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: 4629

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_MAIN_CONTENTDataTable.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:4629
   _Alphabetical.Page_Load(Object sender, EventArgs e) in C:\Domains\gateway3\gatewayklia2.com.my\wwwroot\ch\directory\floors.aspx.vb:28
   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