• 2022-06-08 问题

    [input type=“Text” name=“age” value=“18” size=“8” maxlength=“100” runat=“server”] 中 , 由 于 有 runat=“server”,表示这是一个服务器控件。( )

    [input type=“Text” name=“age” value=“18” size=“8” maxlength=“100” runat=“server”] 中 , 由 于 有 runat=“server”,表示这是一个服务器控件。( )

  • 2021-04-14 问题

    中国大学MOOC: 对下面ASP.NET代码的解释存在错误的是( )<%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeBehind="WebForm1.aspx.cs"Inherits="SECSYS.Web.WebForm1"%><asp:ContentID="Content1"ContentPlaceHolderID="head"runat="server"></asp:Content><asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"runat="server"></asp:Content>

    中国大学MOOC: 对下面ASP.NET代码的解释存在错误的是( )<%@PageTitle=""Language="C#"MasterPageFile="~/MasterPage.master"AutoEventWireup="true"CodeBehind="WebForm1.aspx.cs"Inherits="SECSYS.Web.WebForm1"%><asp:ContentID="Content1"ContentPlaceHolderID="head"runat="server"></asp:Content><asp:ContentID="Content2"ContentPlaceHolderID="ContentPlaceHolder1"runat="server"></asp:Content>

  • 2022-06-07 问题

    %@ Page Language="C#" %&amp;gt;&amp;lt;script runat="server"&amp;gt; void Page_Load(object sender, EventArgs e) { String echostr = Request.QueryString&#91;"echostr"&#93;; Response.Write(echostr); }&amp;lt;/script&amp;gt;微信验证程序这样编写可以吗?

    %@ Page Language="C#" %&amp;gt;&amp;lt;script runat="server"&amp;gt; void Page_Load(object sender, EventArgs e) { String echostr = Request.QueryString&#91;"echostr"&#93;; Response.Write(echostr); }&amp;lt;/script&amp;gt;微信验证程序这样编写可以吗?

  • 2022-06-14 问题

    在当前页面的同一目录下有一名show.js的文件,下列()代码可以正确访问该文件。 A: 〈scriptlanguage=“JavaScript”language=“show.js”〉〈/script〉 B: 〈scriptlanguage=“JavaScript”type=“show.js”〉〈/script〉 C: 〈scriptlanguage=“JavaScript”src=“show.js”〉〈/script〉 D: 〈scriptlanguage=“JavaScript”runat=“show.js”〉〈/script〉

    在当前页面的同一目录下有一名show.js的文件,下列()代码可以正确访问该文件。 A: 〈scriptlanguage=“JavaScript”language=“show.js”〉〈/script〉 B: 〈scriptlanguage=“JavaScript”type=“show.js”〉〈/script〉 C: 〈scriptlanguage=“JavaScript”src=“show.js”〉〈/script〉 D: 〈scriptlanguage=“JavaScript”runat=“show.js”〉〈/script〉

  • 2022-06-19 问题

    在当前页面的同一目录下有一名为show.js的文件, 下列( )代码可以正确访问该件。(选一项) A: script language= "show.js" >< /script B: script type="show.js" >< /script C: script language="JavaScript" src="show.js" >< /script D: script runat="show.js" >< /script

    在当前页面的同一目录下有一名为show.js的文件, 下列( )代码可以正确访问该件。(选一项) A: script language= "show.js" >< /script B: script type="show.js" >< /script C: script language="JavaScript" src="show.js" >< /script D: script runat="show.js" >< /script

  • 2022-05-26 问题

    下列描述不正确的是() A: 脚本分为服务器端和客户端两类。 B: 服务器端脚本在客户端浏览器请求页面之后,以及服务器回送页面至浏览器之前,在服务器上先执行,客户端看不到运行机制,asp.net的服务器端脚本通常采用C C: 语言; D: 服务器端脚本可用标签&lt;script runat=&quot;server&quot;&gt;&lt;/scirpt&gt;引用,也可包含在显示块&lt;% %&gt;中 E: 而客户端脚本则是客户端请求页面后,随页面一起返回到客户端浏览器执行的代码。一般采用&lt;/scirpt&gt;引用,注意没有runat=&quot;server&quot;。客户端脚本不采用javascript语言

    下列描述不正确的是() A: 脚本分为服务器端和客户端两类。 B: 服务器端脚本在客户端浏览器请求页面之后,以及服务器回送页面至浏览器之前,在服务器上先执行,客户端看不到运行机制,asp.net的服务器端脚本通常采用C C: 语言; D: 服务器端脚本可用标签&lt;script runat=&quot;server&quot;&gt;&lt;/scirpt&gt;引用,也可包含在显示块&lt;% %&gt;中 E: 而客户端脚本则是客户端请求页面后,随页面一起返回到客户端浏览器执行的代码。一般采用&lt;/scirpt&gt;引用,注意没有runat=&quot;server&quot;。客户端脚本不采用javascript语言

  • 2022-05-26 问题

    下列描述不正确的是( ) A: 脚本分为服务器端和客户端两类。 B: 服务器端脚本在客户端浏览器请求页面之后,以及服务器 回送页面至浏览器之前,在服务器上先执行,客户端看不到运行机制, asp.net 的服务器端脚本通常采用 C C: 语言; D: 服 务 器 端 脚 本 可 用 标 签 &lt;script runat=“server”&gt; &lt;/scirpt&gt;引用,也可包含在显示块&lt;% %&gt;中 E: 而客户端脚本则是客户端请求页面后,随页面一起返回到 客户端浏览器执行的代码。一般采用&lt;/scirpt&gt;引用,注意 没有 runat=“server”。客户端脚本不采用 javascript 语言

    下列描述不正确的是( ) A: 脚本分为服务器端和客户端两类。 B: 服务器端脚本在客户端浏览器请求页面之后,以及服务器 回送页面至浏览器之前,在服务器上先执行,客户端看不到运行机制, asp.net 的服务器端脚本通常采用 C C: 语言; D: 服 务 器 端 脚 本 可 用 标 签 &lt;script runat=“server”&gt; &lt;/scirpt&gt;引用,也可包含在显示块&lt;% %&gt;中 E: 而客户端脚本则是客户端请求页面后,随页面一起返回到 客户端浏览器执行的代码。一般采用&lt;/scirpt&gt;引用,注意 没有 runat=“server”。客户端脚本不采用 javascript 语言

  • 2022-05-31 问题

    关于单文件页模型和代码隐藏页模型,以下说法正确的是: A: 在单文件页模型中,页的标记及其编程代码位于同一个后缀为.aspx的文件中 B: 在代码隐藏页模型中,不存在具有runat="server"属性的script块 C: 单文件页模型和代码隐藏页模型功能相同 D: 在代码隐藏页模型中,代码位于后缀为.aspx.cs的文件中

    关于单文件页模型和代码隐藏页模型,以下说法正确的是: A: 在单文件页模型中,页的标记及其编程代码位于同一个后缀为.aspx的文件中 B: 在代码隐藏页模型中,不存在具有runat="server"属性的script块 C: 单文件页模型和代码隐藏页模型功能相同 D: 在代码隐藏页模型中,代码位于后缀为.aspx.cs的文件中

  • 2022-05-29 问题

    You are the newly appointed Web Application Developer at Certkiller.com. You make use ofMicrosoft .NET Framework v3.5 to create a Microsoft ASP.NET application.  You create a page on the application that contains the code segment below:<asp:ListBox ID="lstBox1"AutoPostBack="true" runat="server" />  The page contains a code-behind file. The code below is written in the file:Private Sub BindData(ByVal sender As Object, ByVal e As EventArgs) lstLanguages.DataSource = CultureInfo.GetCultures(CultureTypes.AllCultures)lstLanguages.DataTextField = "EnglishName"lstLanguages.DataBind()End Sub  You receive an instruction from management to make sure that lstBox1 ListBox control retains theselection of the Certkiller client during postback. You thus need to determine the appropriate codethat should be added in the constructor of the page.  What should you do?() A: You should consider adding AddHandler lstLanguages.SelectedIndexChanged, AddressOfBindData to the constructor of the page. B: You should consider adding AddHandler Me.Init, AddressOf BindData to the constructor of thepage. C: You should consider adding AddHandler Me.PreRender, AddressOf BindData to theconstructor of the page. D: You should consider adding AddHandler lstLanguages.PreRender, AddressOf BindData to theconstructor of the page.

    You are the newly appointed Web Application Developer at Certkiller.com. You make use ofMicrosoft .NET Framework v3.5 to create a Microsoft ASP.NET application.  You create a page on the application that contains the code segment below:<asp:ListBox ID="lstBox1"AutoPostBack="true" runat="server" />  The page contains a code-behind file. The code below is written in the file:Private Sub BindData(ByVal sender As Object, ByVal e As EventArgs) lstLanguages.DataSource = CultureInfo.GetCultures(CultureTypes.AllCultures)lstLanguages.DataTextField = "EnglishName"lstLanguages.DataBind()End Sub  You receive an instruction from management to make sure that lstBox1 ListBox control retains theselection of the Certkiller client during postback. You thus need to determine the appropriate codethat should be added in the constructor of the page.  What should you do?() A: You should consider adding AddHandler lstLanguages.SelectedIndexChanged, AddressOfBindData to the constructor of the page. B: You should consider adding AddHandler Me.Init, AddressOf BindData to the constructor of thepage. C: You should consider adding AddHandler Me.PreRender, AddressOf BindData to theconstructor of the page. D: You should consider adding AddHandler lstLanguages.PreRender, AddressOf BindData to theconstructor of the page.

  • 2022-05-31 问题

    Certkiller.com has hired you as a Web Application Developer for their network. The previousadministrator created a Microsoft ASP.NET application using Microsoft .NET Framework v3.5.  You check and discover that the application contains a DataSourceControl named CatDS1. ThisDataSourceControl is bound to a Microsoft SQL Server 2005 table. The primary key of the table isthe CatName column. The code below is written in the FormView control. (The line numbers isincluded for reference purposes) 01  02 Category: 03  04 05 DataSourceID="CatDS1" 06 DataTextField="CatName" 07 DataValueField="CatID" 08 Runat="server" /> 09  10   You have to make sure that any modifications made to the CatID field is written to the database.You should therefore identify the code segment that has to be added in line 04.  What should you identify?() A: Your best option would be to add the SelectedValue='<%# Bind("CatName") %>' codesegment. B: Your best option would be to add the SelectedValue='<%# Bind("CatID") %>' code segment. C: Your best option would be to add the SelectedValue='<%# Eval("CatID") %>' code segment. D: Your best option would be to add the SelectedValue='<%# Eval("CatName") %>' codesegment.

    Certkiller.com has hired you as a Web Application Developer for their network. The previousadministrator created a Microsoft ASP.NET application using Microsoft .NET Framework v3.5.  You check and discover that the application contains a DataSourceControl named CatDS1. ThisDataSourceControl is bound to a Microsoft SQL Server 2005 table. The primary key of the table isthe CatName column. The code below is written in the FormView control. (The line numbers isincluded for reference purposes) 01  02 Category: 03  04 05 DataSourceID="CatDS1" 06 DataTextField="CatName" 07 DataValueField="CatID" 08 Runat="server" /> 09  10   You have to make sure that any modifications made to the CatID field is written to the database.You should therefore identify the code segment that has to be added in line 04.  What should you identify?() A: Your best option would be to add the SelectedValue='<%# Bind("CatName") %>' codesegment. B: Your best option would be to add the SelectedValue='<%# Bind("CatID") %>' code segment. C: Your best option would be to add the SelectedValue='<%# Eval("CatID") %>' code segment. D: Your best option would be to add the SelectedValue='<%# Eval("CatName") %>' codesegment.

  • 1