单项选择题
A.bool isMember = Roles.GetUsersInRole("Administrators").Any()
B.bool isMember = Membership.ValidateUser(User.Identity.Name, "Administrators")
C.bool isMember = Roles.GetRolesForUser("Administrators").Any()
D.bool isMember = User.IsInRole("Administrators")
多项选择题 YoucreateanASP.NETpagethatcontainsthefollowingtag.PageNameYouneedtowritecodethatwillchangethecontentsofthetagdynamicallywhenthepageisloaded.Whataretwopossiblewaystoachievethisgoal?()
单项选择题 You are implementing an ASP.NET page that includes the following drop-down list. You need to dynamically add values to the end of the drop-down list. What should you do? ()
多项选择题 You create a custom server control named Task that contains the following code segment. You need to ensure that adding a Task control from the Toolbox creates markup in the following format. Which two actions should you perform?()