FormView控件插入模式:e.Values​​未填写,除非是 [英] FormView Insert Mode: e.Values not filled, except when it is

查看:244
本文介绍了FormView控件插入模式:e.Values​​未填写,除非是的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

同样的网络项目Framework 2.0和4.0框架下的行为有所不同。当ItemInserting事件触发,e.Values​​是空当在网站上与IIS 2.0框架运行。

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.

在使用Framework 4的VS 2010年主办的网站的ItemInserting事件触发,那么e.Values​​是完美的。

When the ItemInserting event fires with the site hosted in VS 2010 using Framework 4, then e.Values is perfect.

有什么想法?

比尔

辛辛那提

推荐答案

在服务器升级到Framework 4中,这一切现在工作,没有code的变化。

The server was upgrade to Framework 4 and it all works now, with no code changes.

我做了一些研究网上,有在框架2'功能'导致出现此问题。

I did some research online, there is a 'feature' in Framework 2 that causes this behavior.

这篇关于FormView控件插入模式:e.Values​​未填写,除非是的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆