You can declare a local variable simply by creating an expression containing only the name of the variable, and assigning a value to it.
只需要创建一个仅包含变量名称的表达式,并为其指定一个取值,就可以声明一个局部变量。
The value for the OrderDate is set by calling the Bind expression and passing to it the name of the column in the GridView's associated data source and an optional data format string expression.
OrderDate的值是通过调用Bind表达式并向它传递GridView的关联数据源中列的名称和一个可选的数据格式字符串表达式来设置的。
To get the first names of the students that have the last name Silver, you can use an XPath expression like the one in Listing 2.
要查询姓 Silver 的学生的名,应该使用类似于 清单 2 中的 XPath 表达式。
which I just did there, -mystring in fact, let me type it in-- mystring, with an equal sign, which is saying, assign or bind to that name the value of the following expression.
也就是这里我做的,实际上,让我输入,然后是个蹬好,意思就是说,把这个名字绑定到,后面表达式的值上去。
应用推荐