Microsoft
70-515 · Question #111
70-515 Question #111: Real Exam Question with Answer & Explanation
Sign in or unlock 70-515 to reveal the answer and full explanation for question #111. The question stem and answer options stay visible for context.
Question
You are developing an ASP.NET Web page that contains input controls, validation controls, and a button named btnSubmit. The page has the following code-behind. (Line numbers are included for reference only.) 01 public partial class _Default : System.Web.UI.Page 02 { 03 protected void SaveToDatabase() 04 { 05 06 } 07 08 protected void btnSubmit_Click(object sender, EventArgs e) 09 { 10 11 } 12 } You need to ensure that all data that is submitted passes validation before the data is saved in a database. What should you do?
Options
- AAdd the following method override.
- BAdd the following method override.
- CAdd the following method override.
- DAdd the following code segment at line 10.
Unlock 70-515 to see the answer
You've previewed enough free 70-515 questions. Unlock 70-515 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.