Which of the following is the correct syntax to specify the path to a file that generates the strong type?

Which of the following is the correct syntax to specify the path to a file that generates the strong type?

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”% >

Explanation:
CHAPTER 5 Input Validation and Site Navigation
Lesson 2: Performing Site Navigation
Accessing Posted Data as Strongly Typed Data (page 249)
@ PreviousPageType
(http://msdn.microsoft.com/en-us/library/ms228169.aspx)



Leave a Reply 0

Your email address will not be published. Required fields are marked *