FormView 插入模式:e.Values 未填充,除非已填充
同一个 Web 项目在 Framework 2.0 和 Framework 4.0 下的行为有所不同。当 ItemInserting 事件触发时,当站点在具有 Framework 2.0 的 IIS 上运行时,e.Values 为空。
当使用 Framework 4 在 VS 2010 中托管的网站上触发 ItemInserting 事件时,e.Values 是完美的。
有什么想法吗?
比尔·
辛辛那提,俄亥俄州
The same web project behaves differently under Framework 2.0 and Framework 4.0. When the ItemInserting event fires, e.Values is empty when the site runs on IIS with Framework 2.0.
When the ItemInserting event fires with the site hosted in VS 2010 using Framework 4, then e.Values is perfect.
Any thoughts?
Bill
Cincinnati, OH
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
服务器已升级到 Framework 4,现在一切正常,无需更改代码。
我在网上做了一些研究,框架 2 中有一个“功能”会导致这种行为。
The server was upgrade to Framework 4 and it all works now, with no code changes.
I did some research online, there is a 'feature' in Framework 2 that causes this behavior.