当前位置:MCPD(70-562)题库

问题:

[单选]

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication. 
You decide to make use of Microsoft ASP.NET 3.5 in order to create the application. The followingmarkup is present on the page: 
<asp:TextBox ID="_statusTextBox" runat="server"/> 
<asp:Button ID="_button" runat="server" Text="Filter"/> 
<asp:SqlDataSource ID="_sqlDataSource" runat="server" 
 ConnectionString="<%$ ConnectionStrings:Certkiller %>" 
SelectCommand="GetUsers" SelectCommandType="StoredProcedure" 
FilterExpression="Active=1 AND Name LIKE ’{0}%’"> 
<FilterParameters> 
<asp:ControlParameter ControlID="_statusTextBox"/> 
</FilterParameters> 
</asp:SqlDataSource> 
<asp:GridView ID="_CKGridView" runat="server" DataSourceID="_sqlDataSource"/> 
The page is used to retrieve the Users from a company database. However, only the active usersare displayed. The TextBox control allows you to also filter users by status. You do not specify astatus when you click the Filter button. You notice that the page does not filter by active users andshows all the users that are retrieved from the database. You need to make the necessary settingsto ensure that only the active users are being displayed on the page when a status is notspecified. 
What should you do?()

A . You should ensure that a default value for the Status property of the ControlParameter controlis set.
B . You should ensure that the PropertyName property of the ControlParameter control is set toText.
C . You should ensure that the ControlParameter control’s ConvertEmptyStringToNull property isset to false.
D . You should ensure that the {0} placeholder in the FilterExpression property is replaced with the(?) symbol.

下列属于超过一定规模的危险性较大的分部(分项)工程的范围的工程是()。 搭设跨度18m的混凝土模板支撑工程。 起重机械设备自身的安装、拆卸。 新型及异型脚手架工程。 开挖深度超过3m的土方开挖工程。 国家规定标准煤应用基低发热值为() 7000大卡/kg。 6000大卡/kg。 5000大卡/kg。 You work as the enterprise exchange administrator at TestKing.com. TestKing.com makes use of Microsoft Exchange Server messaging solution. TestKing.com has its headquarters in Chicago and branchoffices around the globe. All the offices of Testking.com have a direct link to the Internet. The Chicago office connects to the other offices via a WAN link. You have received instructions from theCIO to install Exchange Server 2010 servers in every office. You need to ensure that your design maintainuser access mailboxes in the event of a domain controller failure as well as ensuring that user is able tosend e-mail messages if a WAN link failure should occur. What should you do?() Your best option should be create an Active Directory site for every office.Thereafter one domain controller and two read only domain controllers should be deployed in everysite.。 Your best option should be create an Active Directory site for every office.Thereafter two domain controllers should be deployed for every site.。 Your best option should be create an Active Directory site for every office.Thereafter a single domain controller should be deployed in every site and site link bridging enabled.。 Your best option should be create an Active Directory site for every office.Thereafter a single domain controller and a read only domain controller should be deployed in everysite.。 产品结构子系统的主要功能是输入和管理()相关的数据。 基层铺设时对厕浴间和有防水要求的建筑地面必须设置()。 卷材防水层。 涂膜防水层。 防水隔离层。 涂料防水层。

You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication. 
You decide to make use of Microsoft ASP.NET 3.5 in order to create the application. The followingmarkup is present on the page: 
<asp:TextBox ID="_statusTextBox" runat="server"/> 
<asp:Button ID="_button" runat="server" Text="Filter"/> 
<asp:SqlDataSource ID="_sqlDataSource" runat="server" 
 ConnectionString="<%$ ConnectionStrings:Certkiller %>" 
SelectCommand="GetUsers" SelectCommandType="StoredProcedure" 
FilterExpression="Active=1 AND Name LIKE ’{0}%’"> 
<FilterParameters> 
<asp:ControlParameter ControlID="_statusTextBox"/> 
</FilterParameters> 
</asp:SqlDataSource> 
<asp:GridView ID="_CKGridView" runat="server" DataSourceID="_sqlDataSource"/> 
The page is used to retrieve the Users from a company database. However, only the active usersare displayed. The TextBox control allows you to also filter users by status. You do not specify astatus when you click the Filter button. You notice that the page does not filter by active users andshows all the users that are retrieved from the database. You need to make the necessary settingsto ensure that only the active users are being displayed on the page when a status is notspecified. 
What should you do?()

参考答案:

  参考解析

本题暂无解析

在线 客服