可学答题网 > 问答 > MCPD(70-562)题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

You create a Microsoft


You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. You plan to add a custom parameter in the SqlDataSource control. You write the following code fragment:   <asp:SqlDataSource ID="SqlDataSource1" runat="server"   InsertCommand="INSERT INTO [Employee] ([Field1], [Field2], [PostedDate])    VALUES (@Field1, @Field2, @PostedDate)">  <InsertParameters>   <asp:Parameter Name="Field1" />   <asp:Parameter Name="Field2" />   <custom:DayParameter Name="PostedDate" />  </InsertParameters>   </asp:SqlDataSource>    You write the following code segment to create a custom parameter class:   public class DayParameter : Parameter { } You need to ensure that the custom parameter returns the current date and time. Which code segment should you add to the DayParameter class? ()

  • AA
  • BB
  • CC
  • DD
参考答案
参考解析:
分类:MCPD(70-562)题库
相关推荐

1、You create a Microsoft

You&ensp;create&ensp;a&ensp;Microsoft&ensp;ASP.NET&ensp;application&ensp;by&ensp;using&ensp;the&ensp;Microsoft&ensp;.NET&ensp;Framework&ensp;version&ensp;3.5.&ensp;T...

2、You create a Microsoft

You&ensp;create&ensp;a&ensp;Microsoft&ensp;ASP.NET&ensp;application&ensp;by&ensp;using&ensp;the&ensp;Microsoft&ensp;.NET&ensp;Framework&ensp;version&ensp;3.5.&ensp;Y...

3、You create a Microsoft

You&ensp;create&ensp;a&ensp;Microsoft&ensp;ASP.NET&ensp;application&ensp;by&ensp;using&ensp;the&ensp;Microsoft&ensp;.NET&ensp;Framework&ensp;version&ensp;3.5.&ensp;Y...

4、You create a Microsoft

You&ensp;create&ensp;a&ensp;Microsoft&ensp;ASP.NET&ensp;application&ensp;by&ensp;using&ensp;the&ensp;Microsoft&ensp;.NET&ensp;Framework&ensp;version&ensp;3.5.&ensp;Y...

5、You create a Microsoft

You&ensp;create&ensp;a&ensp;Microsoft&ensp;ASP.NET&ensp;application&ensp;by&ensp;using&ensp;the&ensp;Microsoft&ensp;.NET&ensp;Framework&ensp;version&ensp;3.5.&ensp;&...

6、You create a Microsoft

You&ensp;create&ensp;a&ensp;Microsoft&ensp;ASP.NET&ensp;application&ensp;by&ensp;using&ensp;the&ensp;Microsoft&ensp;.NET&ensp;Framework&ensp;version&ensp;3.5.&ensp;Y...