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 136:		  dtr=cmd.ExecuteReader()
Line 137:		  dtr.Read()
Line 138:		  lblNazivProizvoda.Text=dtr("Naziv_Proizvoda")
Line 139:		  
Line 140:		  lblSifraProizvoda.Text=dtr("sifra")

Source File: E:\Websites\incentar\katalog.incentar.com\wwwroot\proizvodi_detalji.aspx    Line: 138

Stack Trace:


[InvalidOperationException: No data exists for the row/column.]
   System.Data.OleDb.OleDbDataReader.DoValueCheck(Int32 ordinal) +1247827
   System.Data.OleDb.OleDbDataReader.GetValue(Int32 ordinal) +14
   System.Data.OleDb.OleDbDataReader.get_Item(String name) +28
   ASP.proizvodi_detalji_aspx.Bind() in E:\Websites\incentar\katalog.incentar.com\wwwroot\proizvodi_detalji.aspx:138
   ASP.proizvodi_detalji_aspx.Page_Load(Object s, EventArgs e) in E:\Websites\incentar\katalog.incentar.com\wwwroot\proizvodi_detalji.aspx:63
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


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