70-526VB MCTS Braindump
ExamSoon 70-526VB Exams
Microsoft Microsoft .NET Framework 2.0 - Windows-based Client Development is in
development
O rder : 70-526VB Exam
Practice Exam: 70-526VB
Exam Number/Code: 70-526VB
Exam Name: Microsoft .NET Framework 2.0 - Windows-based Client
Development is in development
Questions and Answers: 77 Q&As
Free 70-526VB Braindumps
Exam : Microsoft 70-526VB
Title : Microsoft .NET Framework 2.0 - Windows-based Client Development is in development
1. You are creating a Windows Forms application. Initialization code loads a DataSet object named ds that includes a
table named Users. The Users table includes a column named IsManager.
You need to bind the IsManager column to the Checked property of a check box named chkIsManager.
Which code segment should you use?
A. chkIsManager.DataBindings.Add("Checked", ds, "Users.IsManager")
B. chkIsManager.DataBindings.Add("Checked", ds, "IsManager")
C. chkIsManager.Text = "{Users.IsManager}"
chkIsManager.AutoCheck = True
D. Me.DataBindings.Add("chkIsManager.Checked", ds, "Users.IsManager")
Answer: A
2. A method in your Windows Forms application executes a stored procedure in a Microsoft SQL Server 2005
database, and then executes a second stored procedure in a second SQL Server 2005 database.
You need to ensure that the call to the first stored procedure writes changes only if the call to the second stored
procedure succeeds. Installation requirements prohibit you from introducing new components that use the COM+
hosting model.
What should you do?
A. Implement a transactional serviced component.
Add methods to this component to encapsulate the connect operation and execution of each stored procedure.
Register and use this serviced component.
B. Add a TransactionScope block.
Connect to each database and execute each stored procedure within the TransactionScope block.
Call the TransactionScope.Complete method if the call to both stored procedure succeeds.
C. Connect to both databases.
Call the SqlConnection.BeginTransaction method for