Page.Title 與 Page.Header.Title 有區別嗎?
You have created an ASP.NET2.0 search page and want to set the page title to “Search results: <Query>”. How can you dynamically set the page title?
A. Page.Title
B. Page.Header.Title
C. Response.Header.Title
D. Response.Title
請問各位,以上題目書中的答案是B,為什么A不可以呢?
我將兩個對象HashCode打出來後,發現兩個TITLE是一樣的。