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) +52
   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) +23
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Control.LoadRecursive() +163
   System.Web.UI.Control.LoadRecursive() +163
   System.Web.UI.Control.LoadRecursive() +163
   System.Web.UI.Control.LoadRecursive() +163
   System.Web.UI.Control.LoadRecursive() +163
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2602


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