Column 'm_discount_rate' does not belong to table .

Server Error in '/' Application.

Column 'm_discount_rate' does not belong to table .

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.ArgumentException: Column 'm_discount_rate' does not belong to table .

Source Error:


Line 523:        //		m_has_expired = dr["has_expired"].ToString();
Line 524:
Line 525:        m_rate = dr["m_discount_rate"].ToString();
Line 526:
Line 527:        //decode the apostrophe to display in text box

Source File: d:\html\webhost\toptrade\cs\card_function.cs    Line: 525

Stack Trace:


[ArgumentException: Column 'm_discount_rate' does not belong to table .]
   System.Data.DataRow.GetDataColumn(String columnName) +5770131
   System.Data.DataRow.get_Item(String columnName) +13
   ASP.register_aspx.DrawCardTable(DataRow dr, Boolean bNew, String newType) in d:\html\webhost\toptrade\cs\card_function.cs:525
   ASP.register_aspx.ShowUserForm(String reg) in d:\html\webhost\toptrade\cs\register.cs:350
   ASP.register_aspx.GetQueryString() in d:\html\webhost\toptrade\cs\register.cs:228
   ASP.register_aspx.Page_Load(Object Src, EventArgs E) in d:\html\webhost\toptrade\cs\register.cs:140
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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