欢迎来到财会考试题库网 财会考试题库官网
logo
全部科目 > 微软认证考试 > MCPD > MCPD(70-562)

单项选择题

You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. 
You add a TextBox control named TextBox1. 
You write the following code segment for validation. 
Protected Sub _ 
| English | Chinese | Japan | Korean | - 24 - Test Information Co., Ltd. All rights reserved. CustomValidator1_ServerValidate(ByVal source As Object, _ 
ByVal args As ServerValidateEventArgs) 
Dim dt As DateTime = _ 
IIf([String].IsNullOrEmpty(args.Value), _ 
DateTime.Now, Convert.ToDateTime(args.Value)) 
args.IsValid = (DateTime.Now - dt).Days < 10 
End Sub 
You need to validate the value of TextBox1. 
Which code fragment should you add to the Web page? ()

    A.
    B.
    C.
    D.
    E.
    F.
    G.
    H.

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题