Web custom controls are compiled code, which makes them easier to use but more difficult to create. You can add a Web custom control to the Toolbox and display it in a visual designer with full Properties window support and all the other design-time features of ASP.NET server controls.
Incorrect Answers:
B: Web user controls are easy to make, but they can be less convenient to use in advanced scenarios such as this. Because Web user controls are compiled dynamically at run time they cannot be added to the Toolbox
C: A Web form would be inadequate.
D: The Component class Provides the base implementation for the IComponent interface and enables object-sharing between applications. It does not fit in this scenario.
Dataset is a container; therefore, you need to fill it with data. You can populate a dataset by calling the Fill method of a data adapter.
We need to use an OleDBConnection to connect to SQL Server Version 6.5 (or earlier).
Incorrect Answers:
A: We could use a SqlConnection object only if the SQL Server were SQL Server 7.0, 2000 or later.
C: HTTP functionality is not required in this scenario. It would introduce unnecessary overhead.
D: ADODB is a legacy standard and should not be used here
Comments
There are no comments.Copyright ©CuriousTab. All rights reserved.