Answers

Question and Answer:

  Home  MCSD.NET - 70-315 Exam

⟩ Suppose You are creating an ASP.NET page for XYZ. You create a DataGrid control that displays pastpurchases made by the user. The DataGrid control is populated from an existing database whenthe page is created.The page contains TextBox controls that allow users to update their personal information, such asaddress and telephone number.You need to ensure that the page is refreshed as quickly as possible when users update theircontact 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 theIsPostBack property of the page is false.D. Write in the Page.Load event handler that populates the DataGrid control only when theIsPostBack property of the page is true.

D. Write in the Page.Load event handler that populates the DataGrid control only when the

IsPostBack property of the page is true.

 141 views

More Questions for you: