Microsoft
70-515 · Question #161
70-515 Question #161: Real Exam Question with Answer & Explanation
Sign in or unlock 70-515 to reveal the answer and full explanation for question #161. The question stem and answer options stay visible for context.
Question
You are dynamically adding controls to an ASP.NET page in the Page_Load event handler. The page will have text boxes that correspond to the columns in a database table. Each text box will be preceded by a label that displays the name of the corresponding column. You need to create the form so that when the user clicks the label, the corresponding text box is selected for input. What should you do?
Options
- AFor each column, output the following HTML, where COL is replaced by the name of the
- BFor each column, output the following HTML, where COL is replaced by the name of the
- CFor each column, create an asp:Label control and a corresponding asp:TextBox that have
- DFor each column, create an asp:Label control and set the AssociatedControlID to the ID of
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.