asp tips
  • Note that members of the code behind class must be either public or protected (they cannot be private).
  • ASP.NET 2.0 introduces the App_Code directory, which can contain standalone files that contain code to be shared across several pages in your application.
  • Any code files in the App_Code directory will be dynamically compiled at runtime and made available to the application.
  • Code enclosed by <% … %> is just executed, while expressions that include an equal sign, <%= … %>, are evaluated and the result is emitted as content.
  • all functions and global page variables must be declared in a <script runat=server> tag.
  • comment syntax
<%-- 
    Comment
--%>
asp
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License