aps .net查看状态 [英] aps .net view state

查看:90
本文介绍了aps .net查看状态的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以告诉我Asp.Net中ViewState的概念吗,我不希望有任何理论或定义,所以请给我一些有关网页/表单的真实示例,以便我可以理解如何使用视图

can any one tell me the concepts of ViewState in Asp.Net, plz i don''t want any theory or definitions so plz give me some real example with web pages/form, so that i can understand how i use view state, or when and where to used.

推荐答案

您如何期望我们告诉我Asp.Net中ViewState的概念" 而不谈论理论或定义"

仅给您示例代码没有任何作用-就是这样:代码.我们将不得不坐下来,对代码中的每一行以及它的工作方式以及与视图状态的关系做出解释.您能想象我们要花多长时间逐行解释一个非常短的代码片段吗?

不,这不会发生.如果您有特定的问题,请提出一个问题.但是首先考虑-您是否想坐下45分钟并无缘无故地逐行输入说明?
How do you expect us to "tell me the concepts of ViewState in Asp.Net" without talking about "theory or definitions"

Just giving you sample code does nothing - it is just that: code. We would have to sit down and work out an explanation of every line in the code and how it works and relates to the view state. Can you imagine how long it would take us to explain even a very short code fragment, line by line?

No. It is not going to happen. If you have a specific problem, then ask a question about it. But think first - would you want to sit down for 45 minutes and type up a line-by-line description for no good reason?


检查以下链接:

http://www.java2s.com/Tutorial/ASP.NET/0220__Sessions/0100__ViewState.htm
http://msdn.microsoft.com/en-us/library/ms972976.aspx
http://www.w3schools.com/aspnet/aspnet_viewstate.asp
http://weblogs.asp.net/infinitiesloop/archive/2006/08/03/Truly-Understanding-Viewstate.aspx
http://www.java2s.com/Tutorial/ASP.NET/0220__Sessions/UseViewStatetostoreobjectlistC.htm
check following links :

http://www.java2s.com/Tutorial/ASP.NET/0220__Sessions/0100__ViewState.htm
http://msdn.microsoft.com/en-us/library/ms972976.aspx
http://www.w3schools.com/aspnet/aspnet_viewstate.asp
http://weblogs.asp.net/infinitiesloop/archive/2006/08/03/Truly-Understanding-Viewstate.aspx
http://www.java2s.com/Tutorial/ASP.NET/0220__Sessions/UseViewStatetostoreobjectlistC.htm


检查以下链接以获取示例说明

http://aspnetresources.com/articles/ViewState [ 初学者'' s查看状态指南 [ ^ ]
check following links for explanation with examples

http://aspnetresources.com/articles/ViewState[^]
Beginner''s Guide To View State [^]


这篇关于aps .net查看状态的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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