New Year Special - 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: ac75sure

You work as a Windows Application Developer for ABC Inc.

You work as a Windows Application Developer for ABC Inc. The company uses Visual Studio .NET as its application development platform. You create a Windows application using the .NET Framework. The application contains many controls. You add an ErrorProvider component named errorPro and a DateTimePicker control named datePick to the application. You are required to configure the application to display an error notification icon next to datePick when a user enters a date that is greater than today's date. What will you do to accomplish this task?

Each correct answer represents a part of the solution. Choose two.

A.

Create an event handler named verifyDate for the Validating event of datePick.

B.

Create an event handler named verifyDate for the Validated event of datePick.

C.

In the verifyDate event handler, call errorPro.SetError(datePick, "Date is greater then today's date") if the value of datePick value is greater than today's date.

D.

In the verifyDate event handler, call errorPro.SetError(datePick, "") if the datePick.Value is greater than today's date.

GSSP-.NET PDF/Engine
  • Printable Format
  • Value of Money
  • 100% Pass Assurance
  • Verified Answers
  • Researched by Industry Experts
  • Based on Real Exams Scenarios
  • 100% Real Questions
buy now GSSP-.NET pdf
Get 75% Discount on All Products, Use Coupon: "ac75sure"