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 37:         mysqlreader.Read()
Line 38: 
Line 39:         Dim orgname As String = mysqlreader("orgname")
Line 40:         'lblteamname = Me.Parent.FindControl("lblteamname")
Line 41:         'lblteamname.Text = mysqlreader("orgname") & " " & mysqlreader("nickname")

Source File: G:\PleskVhosts\blashaw.com\httpdocs\mountainviewWrestling_com\contactus.aspx.vb    Line: 39

Stack Trace:


[InvalidOperationException: No data exists for the row/column.]
   System.Data.Odbc.OdbcDataReader.GetValue(Int32 i) +1177299
   System.Data.Odbc.OdbcDataReader.get_Item(String value) +27
   contactus.Page_Load(Object sender, EventArgs e) in G:\PleskVhosts\blashaw.com\httpdocs\mountainviewWrestling_com\contactus.aspx.vb:39
   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.9061; ASP.NET Version:2.0.50727.9062