MCSD.NET - 70-315 Exam Question: Download Questions PDF
Suppose You are creating an ASP.NET page for XYZ. You create a DataGrid control that displays past
purchases made by the user. The DataGrid control is populated from an existing database when
the page is created.
The page contains TextBox controls that allow users 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. Set the EnableViewState property of the DataGrid to false.
C. Write code in the Page.Load event handler that populates the DataGrid control only when the
IsPostBack property of the page is false.
D. Write in the Page.Load event handler that populates the DataGrid control only when the
IsPostBack property of the page is true.
![MCSD.NET - 70-315 Exam Interview Answer MCSD.NET - 70-315 Exam Interview Question](https://globalguideline.com/public/images/interview/26.png)
Answer:
D. Write in the Page.Load event handler that populates the DataGrid control only when the
IsPostBack property of the page is true.
IsPostBack property of the page is true.
Download MCSD.NET - 70-315 Exam Interview Questions And Answers
PDF