试题详情
单项选择题 You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication.  You decide to make use of Microsoft ASP.NET 3.5 in order to create the application. The followingmarkup is present on the page:        The page is used to retrieve the Users from a company database. However, only the active usersare displayed. The TextBox control allows you to also filter users by status. You do not specify astatus when you click the Filter button. You notice that the page does not filter by active users andshows all the users that are retrieved from the database. You need to make the necessary settingsto ensure that only the active users are being displayed on the page when a status is notspecified.  What should you do?()

A、You should ensure that a default value for the Status property of the ControlParameter controlis set.

B、You should ensure that the PropertyName property of the ControlParameter control is set toText.

C、You should ensure that the ControlParameter control’s ConvertEmptyStringToNull property isset to false.

D、You should ensure that the {0} placeholder in the FilterExpression property is replaced with the(?) symbol.

  • C
  • 关注下方微信公众号,在线模考后查看

热门试题