#12007/4/30 10:26:25
今天有时间打算美化下空间,可是总会出现以下东东 (如下):
不知道是不是我自个儿电脑的问题还是操作失误?
Server Error in '/' Application.
--------------------------------------------------------------------------------
Cannot set Column 'CategoryId' to be null. Please use DBNull instead.
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: Cannot set Column 'CategoryId' to be null. Please use DBNull instead.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentException: Cannot set Column 'CategoryId' to be null. Please use DBNull instead.]
System.Data.DataRow.set_Item(DataColumn column, Object value) +1901749
System.Data.DataRow.set_Item(String columnName, Object value) +24
useradmin_MyClass.Class_Submit_Click(Object sender, EventArgs e) +837
System.Web.UI.WebControls.Button.onClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NamevalueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210
编辑历史:[此帖最近一次被 chimera 编辑过(编辑时间:2007-04-30 11:35:12)]
水瓶座女