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

问题:

[单选]

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application has a Web form file named MovieReviews.aspx. 
The MovieReviews.aspx file connects to a LinqDataSource DataSource named LinqDataSource1 that has a primary key named MovieID. 
The application has a DetailsView control named DetailsView1. The MovieReviews.aspx file contains the following code fragment:  
01 <asp:DetailsView ID="DetailsView1" runat="server"  
02   DataSourceID="LinqDataSource1"  
03 ► 
04 /> 
05   <Fields>  
06     <asp:BoundField DataField="MovieID" HeaderText="MovieID"  
07       InsertVisible="False"  
08       ReadOnly="True" SortExpression="MovieID" />  
09     <asp:BoundField DataField="Title" HeaderText="Title"  
10       SortExpression="Title" />  
11     <asp:BoundField DataField="Theater" HeaderText="Theater"  
12       SortExpression="Theater" />  
13     <asp:CommandField ShowDeleteButton="false"  
14       ShowEditButton="True" ShowInsertButton="True" />  
15   </Fields>  
16 </asp:DetailsView>   
You need to ensure that the users can insert and update content in the DetailsView1 control. You also need to prevent duplication of the link button controls for the Edit and New operations. 
Which code segment should you insert at line 03?()

A . A
B . B
C . C
D . D

《中国共产党纪律处分条例》规定,利用职权或者职务上的影响,将本人、配偶、子女及其配偶等亲属应当由()的费用,由下属单位、其他单位或者他人支付、报销的,情节较轻的,给予警告或者严重警告处分;情节较重的,给予撤销党内职务或者留党察看处分;情节严重的,给予开除党籍处分。 水泥稳定土基层施工中,不设超高的平曲线段的碾压顺序为()。 A.由外侧向内侧 。 B.由内侧向外侧 。 C.由中心向两侧 。 D.由两侧向中心。 《中华人民共和国特种设备安全法》第三十三条规定,特种设备使用单位应当在特种设备投入使用前或者投入使用后三十日内,向负责特种设备安全监督管理的部门办理使用登记,取得使用登记证书。()应当置于该特种设备的显著位置。 使用证书。 登记证号。 登记标志。 登记机关名称。 简述假肢的基本作用。 按设计压力P,压力容器划分为4个压力等级,其中设计压力在大于等于1.6MPa,且小于l0.0MPa范围内(1.6MPa≤p 低压。 中压。 高压。 超高压。

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application has a Web form file named MovieReviews.aspx. 
The MovieReviews.aspx file connects to a LinqDataSource DataSource named LinqDataSource1 that has a primary key named MovieID. 
The application has a DetailsView control named DetailsView1. The MovieReviews.aspx file contains the following code fragment:  
01 <asp:DetailsView ID="DetailsView1" runat="server"  
02   DataSourceID="LinqDataSource1"  
03 ► 
04 /> 
05   <Fields>  
06     <asp:BoundField DataField="MovieID" HeaderText="MovieID"  
07       InsertVisible="False"  
08       ReadOnly="True" SortExpression="MovieID" />  
09     <asp:BoundField DataField="Title" HeaderText="Title"  
10       SortExpression="Title" />  
11     <asp:BoundField DataField="Theater" HeaderText="Theater"  
12       SortExpression="Theater" />  
13     <asp:CommandField ShowDeleteButton="false"  
14       ShowEditButton="True" ShowInsertButton="True" />  
15   </Fields>  
16 </asp:DetailsView>   
You need to ensure that the users can insert and update content in the DetailsView1 control. You also need to prevent duplication of the link button controls for the Edit and New operations. 
Which code segment should you insert at line 03?()

参考答案:

  参考解析

本题暂无解析

在线 客服