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

问题:

[单选]

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You add a Web form that contains the following code fragment:  
<asp:GridView ID="gvProducts" runat="server"   AllowSorting="True" DataSourceID="Products"> </asp:GridView>  
<asp:ObjectDataSource ID="Products" runat="server"   SelectMethod="GetData" TypeName="DAL" /> </asp:ObjectDataSource>   
You write the following code segment for the GetData method of the DAL class:  
01 public object GetData() {  
02   SqlConnection cnn = new SqlConnection( )  
03   string strQuery = "SELECT * FROM Products";  
04 ► 
05 }   
You need to ensure that the user can use the sorting functionality of the gvProducts GridView control. 
Which code segment should you insert at line 04?()

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

结合文学史知识,谈谈你对李清照批评柳永词虽协音律而词语尘下的理解和意见。 Your network contains 100 computers that run Windows XP. You need to identify which applications installed on all of the computers can run on Windows 7. You must achieve this goal by using the minimumamount of administrative effort.  What should you install?() Microsoft Application Compatibility Toolkit (ACT).。 Microsoft Assessment and Planning (MAP) Toolkit.。 Microsoft Deployment Toolkit (MDT).。 Windows Automated Installation Kit (AIK).。 无意想象 种子生产经营许可证应当载明生产经营者名称、地址、法定代表人和()等事项。 生产种子的品种、地点。 种子经营的范围。 有效期限。 有效区域。 例如某软件开发项目概算投资额费用为4000万元,甲乙双方商定复杂系数为10%,则工程设计收费基价为()万元。 145.56万元。 144.56万元。 144.46万元。 145.46万元。

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You add a Web form that contains the following code fragment:  
<asp:GridView ID="gvProducts" runat="server"   AllowSorting="True" DataSourceID="Products"> </asp:GridView>  
<asp:ObjectDataSource ID="Products" runat="server"   SelectMethod="GetData" TypeName="DAL" /> </asp:ObjectDataSource>   
You write the following code segment for the GetData method of the DAL class:  
01 public object GetData() {  
02   SqlConnection cnn = new SqlConnection( )  
03   string strQuery = "SELECT * FROM Products";  
04 ► 
05 }   
You need to ensure that the user can use the sorting functionality of the gvProducts GridView control. 
Which code segment should you insert at line 04?()

参考答案:

  参考解析

本题暂无解析

在线 客服