You can get many advantage using a component class insteadof simple class.Following are the some basic advantage that you can get usingcomponent class.
– It implements System.Component namespace
– You can drag and drop any existing data access component.Soyou have to right less code.
– You can drag and drop stored procedure and other sql server
object and .NET IDE will create sqlcommand and adapter andcommand object directly.
– You can use typed dataset with the component class easily
without writing any code through wizards.