YoucreateaMicrosoftASP.NETapplicationbyusingtheMicrosoft.NETFrameworkversion3.5.YouaddaTextBoxcontrolnamedTextBox1.Youwritethefollowingcodesegmentforvalidation.protectedvoidCustomValidator1_ServerValidate(objectsource,ServerValidateEventArgsargs){DateTimedt=String.IsNullOrEmpty(args.Value)DateTime.Now:Convert.ToDateTime(args.Value);args.IsValid=(DateTime.Now-dt).Days10;}YouneedtovalidatethevalueofTextBox1.WhichcodefragmentshouldyouaddtotheWebpage?()A.B.C.D.E.F.G.H.
YoucreateaMicrosoftASP.NETapplicationbyusingtheMicrosoft.NETFrameworkversion3.5.YouaddaTextBoxcontrolnamedTextBox1.Youwritethefollowingcodesegmentforvalidation.protectedvoidCustomValidator1_ServerValidate(objectsource,ServerValidateEventArgsargs){DateTimedt=String.IsNullOrEmpty(args.Value)DateTime.Now:Convert.ToDateTime(args.Value);args.IsValid=(DateTime.Now-dt).Days<10;}YouneedtovalidatethevalueofTextBox1.WhichcodefragmentshouldyouaddtotheWebpage?()
A.
B.
C.
D.
E.
F.
G.
H.
相关考题:
生成树STP是交换式以太网中的重要技术,用于避免环路的出现。它通过在交换机中传递BPDU,确定根桥,决定哪些端口处于转发状态,哪些处于阻断状态。其通过端口()决定端口处于转发还是阻断状态。 A.优先级数字小的B.优先级数字较大C.带宽大D.带宽小
你是Certikller.com网站的应用程序开发人员,你正在编写一个代码段,你必须确保数据包含在一个叫做Setting.dat的独立的文件中存储。以字符串的形式返回。Settings.dat在机器域中。选择能够达成目标的代码段() A.B.C.D.
YouhaveanExchangeServer2010ServicePack1(SP1)Mailboxserverthatcontainsmultiplemailboxdatabases.Youneedtoensurethatyouarenotifiedwhendeletedmailboxesarepurgedfromtheserver.Whatshouldyoudo?() A.AttachanewtasktotheApplicationeventlog.B.Modifythepropertiesofthemailboxdatabaseobjects.C.CreateanewDataCollectorSet.D.CreateanewEventViewerSubscription.
以下四类防火墙中()更安全。 A.包过滤B.增强型包过滤C.应用层网关D.电路包过滤