If that code is of use to anyone
Server Error in ‘/’ Application.
Column ‘Warrantyservice’ does not belong to table getData.
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 ‘Warrantyservice’ does not belong to table getData.
Source Error:
Line 423:
Line 424:
Line 425: //得到商品不同类型//5年质保等
Line 426: public static string getProductstatus(string htmlscore)
Line 427: {
Source File: D:\web\PaulShop\Object\PublickDate\PublickDate\PublickDate.cs Line: 425
Stack Trace:
[ArgumentException: Column ‘Warrantyservice’ does not belong to table getData.]
System.Data.DataRow.GetDataColumn(String columnName) +1775125
System.Data.DataRow.get_Item(String columnName) +13
PublickDate.PublickDate.getWishlist(Object type, String htmlscore) in D:\web\PaulShop\Object\PublickDate\PublickDate\PublickDate.cs:425
PublickDate.PublickDate.getPublickdate(Object type, Object cateID, String htmlscore) in D:\web\PaulShop\Object\PublickDate\PublickDate\PublickDate.cs:97
returnPageInfo.returnPageInfo.getShippingaddress() in D:\web\DealCms\Object\Account\Account\Account.cs:1176
returnPageInfo.returnPageInfo.OutPageinfo() in D:\web\DealCms\Object\Account\Account\Account.cs:61
[TargetInvocationException: Exception has been thrown by the target of an invocation.]
System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +0
System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) +71
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture, Boolean skipVisibilityChecks) +350
System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture) +29
System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder, Object target, Object providedArgs, ParameterModifier modifiers, CultureInfo culture, String namedParams) +1873
System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object args) +28
DCTools.PageInfo.RunPage() in D:\web\PaulShop\Object\DCTool\DCTools\PageInfo.cs:148
ASP.default_aspx.Page_Load(Object sender, EventArgs e) in d:\web\paulshop\Default.aspx:7
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627