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 17: PageID = id;
Line 18: DataTable DT = DataAccess.StaticPageGet(id);
Line 19: if (DT.Rows[0]["ParentID"].ToString() == "0")
Line 20: {
Line 21: rpSubPages.DataSource = DataAccess.StaticPageSearch("", "", "", "1", false, id);