Exam :070-316
Title:Developing Windows-based Applications with Visual C# .Net
Version Number:6.0
Fast Way to get your Certification
Real Level Practice Questions Guides www.correctexams.com Important Note:
Please Read Carefully
This Study Guide has been carefully written and compiled by correctexams experts. It is designed to help you learn the concepts behind the questions rather than be a strict memorization tool. Repeated readings will increase your comprehension.
We continually add to and update our Study Guides with new questions, so check that you have the latest version of this Guide right before you take your exam.
For security purposes, each PDF file is encrypted with a unique serial number associated …show more content…
The += operator must be used: new EventHandler(HandleContactSaved)
QUESTION NO: 6
You use Visual Studio .NET to develop a Windows-based application that interacts with a Microsoft
SQL Server database. Your application contains a form named CustomerForm. You add the following design-time components to the form:
•
•
•
•
SqlConnection object named TestKingConnection.
SqlDataAdapter object named TestKingDataAdapter.
DataSet object named TestKingDataSet.
Five TextBox controls to hold the values exposed by TestKingDataSet.
At design time, you set the DataBindings properties of each TextBox control to the appropriate column in the DataTable object of TestKingDataSet. When you test the application, you can successfully connect to the database. However, no data is displayed in any text boxes.
You need to modify your application code to ensure that data is displayed appropriately. Which behavior should occur while the CustomerForm.Load event handler is running?
A.
B.
C.
D.
E.
Execute the Add method of the TextBoxes DataBindings collection and pass in TestKingDataSet.
Execute the BeginInit method of TestKingDataSet.
Execute the Open method of