... Recordset(记录集合)对象的方法如下: rs.Open SQL指令, Conn, 1, 1 ‘读取 rs.Open SQL指令, Conn, 1, 3 ‘新增、修改、或删除 ...
基于1个网页-相关网页
给定一个对象(比如下面定义的Foo),静态横切使得创建新方法、添加附加的构造函数,甚至改变继承层次都变得十分简单。
Given an object (such as Foo, defined below), static crosscutting makes it quite simple to create new methods, add additional constructors, and even alter the inheritance hierarchy.
如果你需要的动作方法在其它的区域中,你可以在对象中传递区域名称,如下。
If the action method you need is located in another area, you can pass the area name in an object as shown.
如下的代码显示了获得图书价格所需的对象和方法。
The code below illustrates the objects and methods necessary to get back a book's price.
应用推荐