You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Forms applications.
You are in the process of developing a new application, named ABCApp35. You have previously
created a DataTable, named ABCDT13, which has a column named ItemName.
After binding a DataGridView to ABCDT13, you are informed that the ItemName column should
not be allowed to contain the following invalid strings:
• ItemA
• ItemB
• ItemC
Furthermore, you need to configure the DataGridView to only allow application users to save
applicable entries while altering the DataGridView.
Which of the following actions should you take?
A.
You should consider making use of the CellstartEdit event of the DataGridView.
B.
You should consider making use of the CellCommitEdit event of the DataGridView.
C.
You should consider making use of the CellValidated event of the DataGridView.
D.
You should consider making use of the Validating event of the DataGridView
Explanation: