启用和禁用视图状态之间的区别 [英] Difference between enabled and disabled viewstate

查看:71
本文介绍了启用和禁用视图状态之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨...

我想彻底了解viewstate的概念.当我在页面级别或控件级别启用或禁用视图状态"时,它没有任何区别.请通过适当的示例向我提供它们之间的区别..

Hi...

I want to know the concept of viewstate thoroughly. When I enable or disable View State at page level or control level, it does not make any difference. Please provide me the difference between them with proper example..

推荐答案

为什么您不阅读此
Why don''t you have a read of this Understanding ASP.Net View State[^]


您住的地方Google坏了吗?你不知道什么viewstate吗?它存储页面状态,因此您必须使用该状态(例如,预览绑定中的下拉列表的内容)以使其有所不同.

您的问题太含糊,我想彻底了解这个概念"与论坛回复不兼容,与在线文章兼容.
IS google broken where you live ? Do you not know what viewstate does ? It stores page state, so you have to use that state ( such as the content of a drop list from a preview bind ) for it to make any difference.

Your question is too vague, ''I want to know the concept thoroughly'' is not compatible with a forum reply, it''s compatible with online articles.


该材料足够向您解释视图状态的彻底"概念.

http://msdn.microsoft.com/en-us/library/ms972976.aspx [ ^ ]

这是一个很好的例子:

http://msdn.microsoft.com/en-us/library/ms972427.aspx [ ^ ]
This one has enough material to explain you the ''thorough'' concept of view state.

http://msdn.microsoft.com/en-us/library/ms972976.aspx[^]

And here is an nice example:

http://msdn.microsoft.com/en-us/library/ms972427.aspx[^]


这篇关于启用和禁用视图状态之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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