Object-oriented programming first step in the Online system

xiaoxiao2021-03-06  43

The OOP mode of ASP.NET is programmed 2005-1-19 in the process processing of the C4 line. It is originally a page, found that this change is too much trouble, so it is changed to use other ways to write, build one first After the * .vb file, copy the function in the page to the VB class file, discover an error: "Reference to the reference requirements for non-shared members"! 2005-1-22 Later, it was later found that DIM and SUB used by the function to change to Share and Share Sub, which can be called on most pages, but this is just a simple function package unified call, saying that OOP, overload Nothing, any of the modes of the function must use all parameters. There is still a problem that it is unable to use the httpRequest parameters such as Response and Redirect in the VB class file.

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

New Post(0)