单项选择题
Which of the following is the correct syntax to specify the path to a file that generates the strong type?()
	A.<%@ PreviousPageType VirtualPath ="~/MyPage.aspx"% >
	B.<%@ PreviousPageType VirtualPath ="/MyPage.aspx/ ~"% >
	C.<%@ PreviousPageType VirtualPath ="~/MyPage.master"% >
	D.<%@ PreviousPageType VirtualPath ="~/MyPage"% >
相关考题
- 
                                    单项选择题
                                    
Whichdirectivedefinesmasterpage-preciseattributesthatareusedbytheASP.NETpageparserandcompiler?()
A.@ MasterType
B.@ Master
C.@ PageType
D.@ MasterPage - 
                                    单项选择题
                                    
YouaredevelopinganASP.NETWebapplication.ApplicationdataisstoredinaMicrosoftSQLServer2008database.YouconfigureaconnectionstringnamedcnnContoso.Theapplicationmustcachethedatathatisreturnedfromthedatabasebyusingthisconnectionstring.Youneedtoensurethattheapplicationchecksthedatabaseevery10seconds.Whatshouldyoudo?()
A.Add the following configuration to the
section of the web.config file. 
B.Add the following configuration to thesection of the web.config file. 
C.Add the following @ Page directive to pages that query the database.
D.Add the following @ Page directive to pages that query the database.
 - 
                                    多项选择题
                                    
You are developing an ASP.NET Web service. The following code segment implements the service. You need to ensure that both GetProduct methods can be called from a Web client. Which two actions should you perform?()
A.Remove line 01.
B.Add the static modifier on lines 05 and 11.
C.Add the following attribute before line 10. [SoapDocumentMethod(Action="GetProductById")]
D.Modify the attribute on line 10 as follows. [WebMethod(MessageName="GetProductById")]