|
|
|
testking 70-315 v11
|
|||
|---|---|---|---|
|
#18+
QUESTION NO:57 You are creating an ASP.NET page for TestKing Test Center.You create a DataGrid control that displays past exams taken by customers.The DataGrid control is populated from an existing database when the page is created. The page contains TextBox controls that allow customers to update their personal information, such as address and telephone number. You need to ensure that the page is refreshed as quickly as possible when users update their contact information. What should you do? A.Set the Enable property of the DataGrid control to false. B.Write in the Page.Load event handler that populates the DataGrid control only when the IsPostBack property of the page is true. C.Set the EnableViewState property of the DataGrid to false. D.Write code in the Page.Load event handler that populates the DataGrid control only when the IsPostBack property of the page is false. ========================================== Я думаю ответ D А testking говорит B Answer: B Explanation: The Page.IsPostBack property gets a value indicating whether the page is being loaded in response to a client postback, or if it is being loaded and accessed for the first time. The value is true if the page is being loaded in response to a client postback; otherwise, false. By adding code in the Page Load event handler that populates the Data Grid control when the IsPostBack property is true we ensure that the page is refreshed as quickly as possible. Так какой же ответ верный? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 21.08.2005, 23:36:06 |
|
||
|
testking 70-315 v11
|
|||
|---|---|---|---|
|
#18+
По-моему, в данном случае все-таки B. Иначе страница не будет обновляться, когда пользователь изменит какие-либо данные. (You need to ensure that the page is refreshed as quickly as possible when users update their contact information.) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 23.08.2005, 10:55:28 |
|
||
|
|

start [/forum/topic.php?fid=34&msg=33230894&tid=1551594]: |
0ms |
get settings: |
9ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
163ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
28ms |
get tp. blocked users: |
1ms |
| others: | 235ms |
| total: | 458ms |

| 0 / 0 |
