PrepAway - Latest Free Exam Questions & Answers

What should you do?

You are creating an ASP.NET application by using the .NET Framework 3.5.

You create a Web form in the application. You add a GridView control to the Web form.

You plan to use an existing business object. The business object provides the select, insert, update, and delete methods.

You need to implement data binding that will allow the GridView control to take full advantage of the business object.

What should you do?

PrepAway - Latest Free Exam Questions & Answers

A.
Set the DataSource property of the GridView control to an instance of the business object.

B.
Set the DataSourceID property of the GridView control to an instance of the business object.

C.
Set the DataSourceID property of the GridView control to an ObjectDataSource instance that uses the business object.

D.
Set the DataSource property of the GridView to the result a LINQ to Objects lambda expression to query the business object.


Leave a Reply