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 48:         Da = cmd.ExecuteReader
Line 49:         Da.Read()
Line 50:         lblTitle.Text = Da("title")
Line 51:         lblDesc.Text = Da("desc")
Line 52: 

Source File: C:\Inetpub\vhosts\mlsbalvidyamandir.com\httpdocs\slideshow.aspx.vb    Line: 50

Stack Trace:


[InvalidOperationException: No data exists for the row/column.]
   System.Data.OleDb.OleDbDataReader.DoValueCheck(Int32 ordinal) +1030315
   System.Data.OleDb.OleDbDataReader.GetValue(Int32 ordinal) +12
   System.Data.OleDb.OleDbDataReader.get_Item(String name) +27
   slideshow.getdetail(Object iid) in C:\Inetpub\vhosts\mlsbalvidyamandir.com\httpdocs\slideshow.aspx.vb:50
   slideshow.Page_Load(Object sender, EventArgs e) in C:\Inetpub\vhosts\mlsbalvidyamandir.com\httpdocs\slideshow.aspx.vb:38
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627


Version Information: Microsoft .NET Framework Version:2.0.50727.8813; ASP.NET Version:2.0.50727.8962