powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Сертификация и обучение [игнор отключен] [закрыт для гостей] / testking 70-315 v11
3 сообщений из 3, страница 1 из 1
testking 70-315 v11
    #33227005
Roger
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
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.

Так какой же ответ верный?
...
Рейтинг: 0 / 0
testking 70-315 v11
    #33229404
Bigheadman
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
По-моему, в данном случае все-таки B. Иначе страница не будет обновляться, когда пользователь изменит какие-либо данные. (You need to ensure that the page is refreshed as quickly as possible when users update their contact information.)
...
Рейтинг: 0 / 0
testking 70-315 v11
    #33230894
Roger
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
Похоже так оно и есть
Спасибо
...
Рейтинг: 0 / 0
3 сообщений из 3, страница 1 из 1
Форумы / Сертификация и обучение [игнор отключен] [закрыт для гостей] / testking 70-315 v11
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]