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C90cj48dHI+DQoJCTx0ZD48aW5wdXQgdHlwZT0ncmFkaW8nIG5hbWU9J3F1ZXN0aW9uIDEnIHZhbHVlPScwJyAvPjwvdGQ+PHRkPjxpbnB1dCB0eXBlPSdyYWRpbycgbmFtZT0ncXVlc3Rpb24gMScgdmFsdWU9JzEnIC8+PC90ZD48dGQ+PGlucHV0IHR5cGU9J3JhZGlvJyBuYW1lPSdxdWVzdGlvbiAxJyB2YWx1ZT0nMicgLz48L3RkPg0KCTwvdHI+PHRyPg0KCQk8dGQ+PGlucHV0IHR5cGU9J3JhZGlvJyBuYW1lPSdxdWVzdGlvbiAyJyB2YWx1ZT0nMCcgLz48L3RkPjx0ZD48aW5wdXQgdHlwZT0ncmFkaW8nIG5hbWU9J3F1ZXN0aW9uIDInIHZhbHVlPScxJyAvPjwvdGQ+PHRkPjxpbnB1dCB0eXBlPSdyYWRpbycgbmFtZT0ncXVlc3Rpb24gMicgdmFsdWU9JzInIC8+PC90ZD4NCgk8L3RyPjx0cj4NCgkJPHRkPjxpbnB1dCB0eXBlPSdyYWRpbycgbmFtZT0ncXVlc3Rpb24gMycgdmFsdWU9JzAnIC8+PC90ZD48dGQ+PGlucHV0IHR5cGU9J3JhZGlvJyBuYW1lPSdxdWVzdGlvbiAzJyB2YWx1ZT0nMScgLz48L3RkPjx0ZD48aW5wdXQgdHlwZT0ncmFkaW8nIG5hbWU9J3F1ZXN0aW9uIDMnIHZhbHVlPScyJyAvPjwvdGQ+DQoJPC90cj4NCjwvdGFibGU+ZGRRDHU1Nlr230utN0Gv6X4EdFsY/if7V6fs1b6S/Djrtw==" />
我不知道它是什么?
答案 0 :(得分:5)
这是ASP.NET视图状态。这就是ASP.NET跟踪表单项具有的值和属性的方式。来自Microsoft:
简而言之,Microsoft®ASP.NET视图状态是ASP.NET网页用于跨回发持久更改Web表单状态的技术。
答案 1 :(得分:2)
这是您网页上控件的视图状态,它们会在回发时填充所需的数据。
如果您的页面没有回发,您可以通过设置来禁用viewtstate:
EnableViewState = false;
用于页面上的控件。
答案 2 :(得分:2)
这是一个存储数据/信息/值的ASP.net机制:
简而言之,Microsoft®ASP.NET视图状态是使用的技术 一个ASP.NET网页,用于持久更改Web窗体的状态 跨回发。
答案 3 :(得分:1)