Attribute specifies the name of the class within the code - behind file that corresponds to the page 属性指定与页面对应的代码隐藏文件中类的名称。
Visual studio adds the . asmx file and its associated code - behind file to your project Visual studio将. asmx文件及其关联的代码隐藏文件添加到您的项目中。
Attribute identifies the class defined in the code - behind file from which the . aspx page is derived 属性标识在从中派生. aspx页的代码隐藏文件中定义的类。
Directive includes information that links the . aspx page with its associated code - behind file 指令会包含一些信息,将. aspx页与其关联的代码隐藏文件关联。
When the global . asax file is converted , its code - behind file is moved to the app code directory 当转换global . asax文件时,其代码隐藏文件将移至app _ code目录。
Not all . net programming languages allow you to create code - behind files for asp . net web pages 并非所有的. net编程语言都可用于为asp . net网页创建代码隐藏文件。
This walkthrough assumes that you are working with an asp . net page that uses a code - behind file for its code 本演练假设您所使用的asp . net页使用代码隐藏文件提供代码。
To create an event - handling method for this button and to display the code - behind file Webform1 . aspx上双击“转换”按钮,为该按钮创建事件处理方法并显示代码隐藏文件。
Open the code file for master2 . master and change the class name in the master page s code - behind file from 打开master2 . master的代码文件,将母版页的代码隐藏文件中的类名从
Class attribute indicates which class in the code - behind file implements the functionality of the xml web service 属性指示代码隐藏文件中哪个类实现xml web services的功能。