nerdexam
GIAC

GSSP-NET · Question #191

GSSP-NET Question #191: Real Exam Question with Answer & Explanation

The correct answer is C. Use a custom error template and implement it when binding the individual controls to the. See the full explanation below for the reasoning.

Question

You work as an Application Developer for ABC. The company uses Visual Studio .NET Framework 3.5 as its application development platform. You are working on enhancements to an existing WPF application. One problem you have been encountering is that users of the current version routinely enter invalid data, and since the controls use data binding, that data either gets put in the database incorrectly, or in some cases generates a database error. You want to incorporate validation with your data bound controls. Which of the following choices is the best way to accomplish this goal?

Options

  • AUse the default error template and implement it when binding the individual controls to the
  • BAssign validator controls to each control you wish to validate, and incorporate those in the
  • CUse a custom error template and implement it when binding the individual controls to the
  • DAssign validator controls to each control you wish to validate, and set the validation

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice