You create a Web Form that contains a text box named txtDate. You want the text box to allow users to enter any valid date. You need to use an ASP.NET validation control to ensure that only valid date values are submitted to the server. What should you do? ()
Add a CompareValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set its Type property to Date. Set its Operator property to DataTypeCheck.
B. Add a RangeValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set its Type property to Date. Set its MinimumValue property to 01/01/1900 and its MaximumValue to the current date.
C. Add a CustomValidator control to the Web Form. Set its ControlToValidate property to txtDate. Write a function in the partial class that verifies the values as dates and returns a Boolean variable. Set the Custom Validators ClientValidationFunction to the name of your function.
D. Add a RegularExpressionValidator control to the Web Form. Set its ControlToValidate property to txtDate. Set the ValidationExpression property to ensure that the users input follows the format of nn-nn-nnnn, where n represents a number from 0 through 9.
查看答案
患儿男,10个月。发热2天,抽搐1次,急诊入院。询问病史,其母患浸润性肺结核。体格检查:心肺正常,前囟饱满,颈软,肝、脾轻度肿大。脑脊液外观清,细胞数100×106/L,N30%,L70%,糖1.1mmol/L,氯化物101mmol/L,该患儿的首优护理诊断是()
A. 有窒息的危险
B. 有受伤的危险
C. 活动无耐力
D. 营养失调低于机体需要量
E. 潜在并发症:颅内压增高
男患,67岁,以"讲话时突然头痛、呕吐,右侧肢体无力3小时,昏迷1小时"入院。既往高血压病史12年。查体:血压210/120mmHg、浅昏迷,左瞳孔D=6mm,右瞳孔D=3mm,跟底无出血,右侧肢体偏瘫,右侧Babinski征(+)为明确诊断,首选的辅助检查是()
A. 心电图
B. 脑脊液
C. 脑超声
D. 头颅CT
E. 脑血管造影