Server Error in '/__vintage99-website' 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 18:         if (Request.QueryString["ID"] != null)
Line 19:         {
Line 20:             litContents.Text = objDB.GetDBTable("SELECT Contents FROM PressRelease WHERE ID=" +
Line 21:                 Request.QueryString["ID"]).Rows[0]["Contents"].ToString();
Line 22:         }

Source File: d:\hosting\9798922\html\__vintage99-website\PressRelease.aspx.cs    Line: 20

Stack Trace:

[IndexOutOfRangeException: There is no row at position 0.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +1524606
   System.Data.DataRowCollection.get_Item(Int32 index) +20
   PressRelease.Page_Load(Object sender, EventArgs e) in d:\hosting\9798922\html\__vintage99-website\PressRelease.aspx.cs:20
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +92
   System.Web.UI.Control.LoadRecursive() +54
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34237