ViewState = "pointer"

zhaozj2021-02-16  87

When I write a program, I went to the following code:

DIM

NewDataTable

AS

DataTable newDataable

=

Ctype

(ViewState

"

INSERTTABLE

"

), DataTable ........... ViewState

"

INSERTTABLE

"

)

=

NewDataTable newDataTable.clear () After the value of the DataTable, ViewState (

"

INSERTTABLE

"

The value saved in it is not. So I suspect that only a pointer to the DataTable in viewstate, and the value in ViewState is associated with DataTable when accessing DataTable.

转载请注明原文地址:https://www.9cbs.com/read-12250.html

New Post(0)