Microsoft
70-511 · Question #8
70-511 Question #8: Real Exam Question with Answer & Explanation
Sign in or unlock 70-511 to reveal the answer and full explanation for question #8. The question stem and answer options stay visible for context.
Question
You are developing a Windows Forms application that contains a DataGridView control. The DataGridView is composed of several fields that capture the customer's name, address, and phone number. You have been asked to provide data validation in a DataGridView to prevent users from leaving the name field if the name field is empty. You need to ensure that users cannot tab out of the name field without entering data. What should you do?
Options
- AValidate the name field in the CellValidating event.
- BValidate the name field in the CellErrorTextChanged event.
- CValidate the name field in the CellEnter event.
- DValidate the name field in the CancelRowEdit event.
Unlock 70-511 to see the answer
You've previewed enough free 70-511 questions. Unlock 70-511 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.