题目内容

You are implementing a read-only page that includes the following controls. You disable view state to improve performance. You need to ensure that the page is updated to display the latest data when the user clicks the refresh button. Which code segment should you use?()

A. protected void Page_PreInit(object sender, EventArgs e) { if (!IsPostBack) { gvCustomers.DataSource = GetCustomers(); gvCustomers.DataBind(); } }
B. protected void Page_Load(object sender, EventArgs e) { gvCustomers.DataSource = GetCustomers(); gvCustomers.DataBind(); }
C. protected void gvCustomers_DataBinding(object sender, EventArgs e) { gvCustomers.DataSource = GetCustomers(); gvCustomers.DataBind(); }
D. protected void Page_PreRender(object sender, EventArgs e) { if (!IsPostBack) { gvCustomers.DataSource = GetCustomers(); gvCustomers.DataBind(); } }

查看答案
更多问题

You work as an application developer at Certkiller .com. You have been asked by you superiors at Certkiller .com to create a child application domain. The new child application domain has to specify a different assembly path than that of the parent application domain.You need to ensure that your solution meets Certkiller .com’s requirements.What should you do?()

A
B
C
D

Network topology exhibit: In this WLAN segment, what are three requirements for configuring these Aironet access points(APs) that will allow for all wireless clients to work without service interruption while roaming fromaccess point to access point?() All access points should be configured....

A. ...with a unique IP subnet range
B. ...with identical SSIDs
C. ...within the same IP subnet
D. ...with the same guest mode SSID
E. ...only with the native VLAN
F. ...with the native VLAN

You create an ASP.NET page named TestPage.aspx that contains validation controls. You need to verify that all input values submitted by the user have been validated by testing the Page.IsValid property. Which page event should add an event handler to?()

A. Ini
B. Load
C. PreInit
D. PreLoad

YourcompanyhasamainofficeandtwobranchofficesthatareconnectedbyWANlinks.ThemainofficerunstheDNSServerserviceonthreedomaincontrollers.ThezoneforyourdomainisconfiguredasanActiveDirectory-integratedzone.Eachbranchofficehasasinglememberserverthathostsasecondaryzoneforthedomain.TheDNSserversinthebranchofficesusethemainofficeDNSserverastheDNSMasterserverforthezone.YouneedtominimizeDNSzonetransfertrafficovertheWANlinks.Whatshouldyoudo?()

A. DecreasetheRetryIntervalsettingintheStartofAuthority(SOA)recordforthezone.
B. DecreasetheRefreshIntervalsettingintheStartofAuthority(SOA)recordforthezone.
C. IncreasetheRefreshIntervalsettingintheStartofAuthority(SOA)recordforthezone.
DisablethenetmaskorderingoptioninthepropertiesoftheDNSMasterserverforthezone.

答案查题题库