Microsoft
98-363 · Question #56
An <asp:LinqDataSource> populates an <asp:GridView> control. You need to ensure that users can add new rows to the underlying table. Which property should you set?
The correct answer is C. EnableInsert="true" on the <asp:LinqDataSource> control. See the full explanation below for the reasoning.
Question
An asp:LinqDataSource populates an asp:GridView control. You need to ensure that users can add new rows to the underlying table. Which property should you set?
Options
- AEnableUpdate="true" on the asp:LinqDataSource control
- BEnableUpdate="true" on the asp:GridView control
- CEnableInsert="true" on the asp:LinqDataSource control
- DEnableInsert="true" on the asp:GridView control
How the community answered
(66 responses)- A3% (2)
- B12% (8)
- C79% (52)
- D6% (4)
Community Discussion
No community discussion yet for this question.