First, it improves the efficiency of the lexical analysis during the parsing of the view state string since there is no longer any need to match characters or parse tokens.
第一个目的是改进解析ViewState字符串时进行词法分析的效率,因为此时不再需要匹配字符或解析标记。
For example, if we place a DataGrid on a form and bind it to the authors table in the pubs database, as shown in Figure 3, the size of the view state string in 1.x is 12,648 characters.
例如,如果我们在窗体上放置一个DataGrid,将其绑定到pubs数据库的authors表格,如图3所示,则1 . x中的ViewState字符串大小是12,648个字符。
Maintain state, which here is represented by a simple string variable.
维护状态,例子中用了简单的字符串变量来代表。
So, after the second line for code here char * s1 gets the return value of get string this is what the state of our world looks like.
在第二行之后,这个代码char,*s1,等于GetSting的返回值,这就是它看起来的状态。
应用推荐