Home » Microsoft » 70-515 » 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"% >
Correct Answer: A
Explanation/Reference:
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)