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 53:             dr = cmd.ExecuteReader()
Line 54:             dr.Read()
Line 55:             Me.lblbaslik.Text = dr.Item("baslik")
Line 56:             Me.lblara_baslik.Text = dr.Item("ara_baslik")
Line 57:             Me.lblhaber.Text = dr.Item("haber")

Source File: C:\project\yunusbirbilen\haber.aspx.vb    Line: 55

Stack Trace:


[InvalidOperationException: No data exists for the row/column.]
   System.Data.OleDb.OleDbDataReader.DoValueCheck(Int32 ordinal) +1601513
   System.Data.OleDb.OleDbDataReader.get_Item(String name) +30
   haber.Page_Load(Object sender, EventArgs e) in C:\project\yunusbirbilen\haber.aspx.vb:55
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1533


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