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 111:    string strGetId = Shove.UrlOper.Base64Decrypt(Request.QueryString["info"]);
Line 112:        StrSql = "select * from V_web_Product where 1=1 and id=" + strGetId;
Line 113:        DataRow row = Shove._Data.MsSQL.ExecuteDataTable(StrSql).Rows[0];
Line 114:        _StrTitle=row["title"].ToString();
Line 115:        _StrClassName = row["typeName"].ToString();

Source File: d:\wwwroot\KingTairIII\Product.aspx.cs    Line: 113

Stack Trace:


[IndexOutOfRangeException: There is no row at position 0.]
   System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex) +2443454
   System.Data.DataRowCollection.get_Item(Int32 index) +21
   Product.ProductBind() in d:\wwwroot\KingTairIII\Product.aspx.cs:113
   Product.Page_Load(Object sender, EventArgs e) in d:\wwwroot\KingTairIII\Product.aspx.cs:105
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
   System.Web.UI.Control.LoadRecursive() +71
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3048


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