Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可以在 Classic ASP 中动态创建“空”对象并创建对象属性吗?
以这个 JavaScript 示例为例:
var sample = new Object(); sample.prop = "Object property"; sample.prop2 = "Another property";
什么是经典 ASP 等价物?我必须用 getter 和 setter 编写一个类吗?
是的,您需要为此创建一个类
看一下
http://www.codeguru.com/csharp/.net/net_asp/tutorials/article.php/c19317/Object-Oriented-ASP-Using-Classes-in-Classic-ASP.htm