你能告诉我视图状态是什么意思,它将存储在哪里。 [英] Can u tell me what is meant by view state,where it will stored.

查看:88
本文介绍了你能告诉我视图状态是什么意思,它将存储在哪里。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨先生,



你能告诉我View State的用途和存储位置....

HI Sir,

Can u tell me what is the use of View State and where it will Stored....

推荐答案

看看这篇CP文章

初学者的查看状态指南 [ ^ ]
Take a look at this CP article
Beginner''s Guide To View State [^]


ViewState [ ^ ]属性提供了一个字典对象,用于在同一页面的多个请求之间保留值



这是默认方法,该页面用于在往返之间保留页面控制属性值。



我在这里详细的文章,请看看:真正理解ViewState [ ^ ]



..示例此处 [ ^ ]
The ViewState[^] property provides a dictionary object for retaining values between multiple requests for the same page

This is the default method that the page uses to preserve page and control property values between round trips.

Here is detailed article on same, have a look: Truly Understanding ViewState[^]

..and an example here[^]

视图状态是由Web服务器提供的编码字符串,客户端的网页为隐藏字段形式。它的名字是__VIEWSTATE。当客户端向服务器发出任何请求时,它将再次被服务器使用。



它是关于它的一点描述,有关更多信息,请参阅MSDN
View State is an encoded string trnasfered by web server with web page on client side in hidden field form. it''s name is "__VIEWSTATE". it will used by server again when any request is made by client to server.

it''s a little description about it, for more information see MSDN


这篇关于你能告诉我视图状态是什么意思,它将存储在哪里。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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