阅读背景:

保存(OnItemUpdating事件)ListView中的第一个编辑项时,为什么会出现空对象引用错误?

来源:互联网 

I'm getting the error "Object reference not set to an instance of an object." when trying to reference a HiddenField (lvEditProjectSteps_hdnStepStatusId for future reference) from the EditItem during the OnItemUpdating event after the Update event fires in a ListView. This only occurs on the FIRST item in the ListView. I checked the source and the HTML is being rendered properly.I'm getting the error "Object reference not set




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: