你正在读入一个名为 doc 的 XML 文档,其内容如下()
A. foreach (XmlNode node in nodes){ node.Attributes[0].Value = “NA”;}
B. foreach (XmlNode node in nodes){ node.Attributes[1].Value = “NA”;}
C. foreach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“/genre”); genre.Value = “NA”;}
D. foreach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“@genre”); genre.Value = “NA”;}
E. foreach (XmlNode node in nodes){XmlNode genre = node.SelectSingleNode(“genre”); genre.Value = “NA”;}
您可能感兴趣的试卷
你可能感兴趣的试题
A.使用XmlDocument对象读取XML数据,同时指定相应架构文件。
B.为XmlReader对象的XmlReaderSettings设置ValidationEventHandler;
C.使用DataSet对象读取XML文件,并且设置EnforceConstraints属性为True;
D.使用DataSet对象读取XML文件,并且在DataSet.MergeFailed事件中分析数据看是否符合XML架构。
A.Application_BeginRequest
B.Application_End
C. Application_Start
D.Application_EndRequest
A.if (Request.Browser["IsMobileDevice"] == "true") Response.Redirect("MobileDefault.aspx"); else Response.Redirect("DesktopDefault.aspx"); end if
B.if (Request.Cookies.IsMobileDevice) Response.Redirect("MobileDefault.aspx"); else Response.Redirect("DesktopDefault.aspx"); end if
C.if (Request.Browser.IsMobileDevice) Response.Redirect("MobileDefault.aspx"); else Response.Redirect("DesktopDefault.aspx"); end if
D.if (Request.Cookies["IsMobileDevice"] == "true") Response.Redirect("MobileDefault.aspx"); else Response.Redirect("DesktopDefault.aspx"); end if
A.
B.
C.
D.
A.LinkButton
B.Label
C.RadioButton
D.Table
E.Button
A.Guest 账号
B.Network Service 账号
C.请求 Web 页的账号
D.ASP.NET 账号
A.PhoneNumberTextBox.Text = Master.PhoneNumber;
B.PhoneNumberTextBox.Text = this.PhoneNumber;
C.PhoneNumberTextBox.Text = Content.PhoneNumber;
A.<%@ OutputCache Duration="300" Shared="true" VaryByParam="None" %>
B.<%@ OutputCache Duration="5" VaryByParam="None" %>
C.<%@ OutputCache Duration="5" Shared="true" VaryByParam="None" %>
A.[Designer(myControlDesigner)] public class myControl: CompositeControl
B.[Designer(typeof(myControl))] public class myControlDesigner: CompositeControlDesigner
C.[Designer(myControl)] public class myControlDesigner: CompositeControlDesigner
D.[Designer(typeof(myControlDesigner))] public class myControl: CompositeControl
A.<asp:Label BackColor="White" ForeColor="Blue" Font-Name="Times New Roman"Font-Size="10px" />
B.<asp:Label runat="server" ID="BlueLabel" BackColor="White" ForeColor="Blue"Font-Name="Times New Roman" Font-Size="10px" />
C.<asp:Label ID="BlueLabel" BackColor="White" ForeColor="Blue" Font-Name="Times New Roman" Font-Size="10px" />
D.<asp:Label runat="server" BackColor="White" ForeColor="Blue"Font-Name="Times New Roman" Font-Size="10px" />
最新试题
You create a Web site. The Web site has many predefined roles and associated users that will be used for security purposes. You need to manage these roles and user accounts.Which tool should you use? ()
You have a Web application that is configured for personalization. You need to access personalization data from one of the pages of the Web application by using the minimum amount of administrative effort.What should you do? ()
You are creating a composite control for capturing user address information in a Web application. You define a number of properties that the user can set at design time. You need to group these properties in the Properties dialog box. In addition, you need to ensure that when users click on a particular property, they receive a short explanation of that property. The properties are shown in the exhibit.Which two actions should you perform?()
You create an intranet Web site for management of project documents. You need to enable all users to browse documents on the site. Only members of the administrators group must be ble to upload files.Which code segment of the Web.config file should you use?()
You need to turn on Tracing for a page that is not performing well. You must store the trace information in a database for reporting and trending.Which two actions should you perform?()
You deploy your companys Internet Web site. You need to deny anonymous access to the Web site, allowing only authenticated users. Which code segment should you use?()
You want to enable users of a Web application to modify the Web application's UI and behavior. These modifications must be maintained at the user level so that when users return to the Web application, the changes are still in effect. You need to achieve this goal by using the minimum amount of custom code.What should you do?()
You create an intranet Web site for management of project documents. You need to enable all users to browse documents on the site. Only members of the administrators group must be ble to upload files.Which code segment of the Web.config file should you use?()
You create a Web site with membership and personalization enabled. You must use an existing CRM database for storing the membership information. You need to implement the Membership Provider.What should you do?()
You create a Web Form that allows users to create a new account. You add a CreateUserWizard control by using the following code segment.You need to ensure that the wizard automatically sends an e-mail message to users when they finish creating their accounts. You add a valid element to the Web.config file.Which code segment should you add to the Page_Load event?()