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 NavigationLesson 2: Performing Site Navigation
Accessing Posted Data as Strongly Typed Data (page 249)
@ PreviousPageType
(http://msdn.microsoft.com/en-us/library/ms228169.aspx)