Invalid attempt to read when no data is present. 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.InvalidOperationException: Invalid attempt to read when no data is present. Source Error: Line 106: if (dr.HasRows) { Line 107: link = new Link(id); Line 108: link.Name = dr.GetString(1); Line 109: link.URL = dr.GetString(2); Line 110: link.Description = SqlHelper.GetStringOrNull(dr, 3);