Server Error in '/' Application.

No data exists for the row/column.

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: No data exists for the row/column.

Source Error:


Line 298:
Line 299:        format_link fl = new format_link();
Line 300:        titolo = fl.no_order(rdr["titolo" + desinenza].ToString());
Line 301:        string tipologia = rdr["extra"].ToString().ToLower();
Line 302:        string descrizione = rdr["desc" + desinenza].ToString().Replace("<p>", "<br/>").Replace("</p>", "").Replace("n/a","");

Source File: d:\inetpub\webs\lemarchediurbinoit\controls\eventi.ascx.cs    Line: 300

Stack Trace:


[InvalidOperationException: No data exists for the row/column.]
   System.Data.OleDb.OleDbDataReader.DoValueCheck(Int32 ordinal) +1033643
   System.Data.OleDb.OleDbDataReader.GetValue(Int32 ordinal) +12
   System.Data.OleDb.OleDbDataReader.get_Item(String name) +27
   controls_eventi.impagina() in d:\inetpub\webs\lemarchediurbinoit\controls\eventi.ascx.cs:300
   controls_eventi.page_load() in d:\inetpub\webs\lemarchediurbinoit\controls\eventi.ascx.cs:56
   System.Web.Util.CalliHelper.ArglessFunctionCaller(IntPtr fp, Object o) +8
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +8773843
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.9174; ASP.NET Version:2.0.50727.9175