单项选择题
A.SetPage.MasterPageFile in the Page’sPage_Initevent.
B.SetPage.MasterPageFile in the Page’sOnInit event.
C.SetPage.MasterPageFile in the Page’sPage_Loadevent.
D.SetPage.MasterPageFile in the Page’sPage_PreInitevent.
单项选择题 You create a master page named PageBase.master. The master page contains a Label control named lblTitle. You create a content page that references the master page. You need to change the Text property of the master pages lblTitle control from the content page. Which code segment should you use?()
单项选择题 You have an SQL query that takes one minute to execute. You use the following code segment to execute the SQL query asynchronously. Dim ar As IAsyncResult = cmd.BeginExecuteReader() You need to execute a method named DoWork() that takes one second to run while the SQL query is executing. DoWork() must run as many times as possible while the SQL query is executing. Which code segment should you use?()
单项选择题 You have an SQL query that takes one minute to execute. You use the following code segment to execute the SQL query asynchronously. IAsyncResult ar = cmd.BeginExecuteReader(); You need to execute a method named DoWork() that takes one second to run while the SQL query is executing.DoWork() must run as many times as possible while the SQL query is executing. Which code segment should you use?()