【正文】
of the work, the preparation easier.That it is a revolution, and not the object itself, but rather on their ability to handle the case. With the traditional procedure does not object design and programming method patible only part of the objectoriented instead situation worse. Unless the entire objectoriented development environment is, otherwise, the benefits of object also have not brought more trouble.And Delphi is pletely objectoriented。 it is at your fingertips Delphi as a promotion tool for the development of software reuse, which has powerful appeal.Some of the early performance of OOP programming languages such as C + +, Pascal, Smalltalk, and so on, although with the objectoriented features, but not easy to draw visual objects, and user interaction and limited capacity, programmers still have to prepare a lot of codes of he introduction of Delphi to fill this gap. You do not have to build their own object, as long as the procedures provided in the framework of accession to plete the function of the code, and the rest have to do to Delphi. To generate beautiful interface and wellstructured procedures do not have the slightest racked his brains, Delphi will help you easily pleted. It allows a true OOP in the expansion of the visual programming environment and use it the Object Pascal language. This revolutionary bination makes visual programming and objectoriented framework for the development of closely integrated.Delphi has the following features: formbased and objectoriented methods, the highspeed piler, and strong database support, closely integrated with Windows programming, the powerful and mature ponent technology. But the most important thing is Object Pascal language, it is the entire fundamental. Object Pascal language in the Pascal language is developed on the basis of, and easy to learn.Many advantages in Delphi, it39。s expertise in the database is particularly conspicuous: adapted to a variety of database structure, from the client / server model to the multistorey structure of the data model。 efficient database management system and a new generation of more sophisticated database engine。 the latest data analysis tools and provide a large number of enterprise ponents.Borland Delphi is the famous develops visualization software development tools. The real programmers use c, smart programmers with Delphi This sentence is the most classic Delphi, the most realistic description. Delphi called fourthgeneration programming language。 it is simple, efficient and powerful features. And VC pared Delphi more simple and easy to grasp, and the functional but in no way inferior。 and pared with VB, Delphi is a more powerful, more useful. It can be said that both the VC Delphi at the same time powerful and easy to learn the characteristics of VB. It has always been a love of programming tools programmers.Although history is very important, but more important is Delphi future. Guided by history, we can be sure in the future for a very long time, Delphi will continue to be an excellent Windows development tools provides consistent access to data sources such as SQL Server and XML, and to data sources exposed through OLE DB and ODBC. Datasharing consumer applications can use to connect to these data sources and retrieve, handle, and update the data that they contain. separates data access from data manipulation into discrete ponents that can be used separately or in tandem. includes .NET Framework data providers for connecting to a database, executing mands, and retrieving results. Those results are either processed directly, placed in an DataSet object in order to be exposed to the user in an ad hoc manner, bined with data from multiple sources, or passed between tiers. The DataSet object can also be used independently of a .NET Framework data provider to manage data local to the application or sourced from XML. The classes are found in , and are integrated with the XML classes found in . For sample code that connects to a database, retrieves data from it, and then displays that data in a console window. provides functionality to developers who write managed code similar to the functionality provided to native ponent object model (COM) developers by ActiveX Data Objects (ADO). We remend that you use , not ADO, for accessing data in your .NET applications. ArchitectureData processing has traditionally relied primarily on a connectionbased, twotier model. As data processing increasingly uses multitier architectures, programmers are switching to a disconnected approach to provide better scalability for their applications. Components The two main ponents of for accessing and manipulating data are the .NET Framework data providers and the DataSet. .NET Framework Data ProvidersThe .NET Framework Data Providers are ponents that have been explicitly designed for data manipulation and fast, forwardonly, readonly access to data. The Connection object provides connectivity to a data source. The Command object enables access to database mands to return data, modify data, run stored procedures, and send or retrieve parameter information. The DataReader provides a highperformance stream of data from the data source. Finally, the DataAdapter provides the bridge between the DataSet object and the data source. The DataAdapter uses Command objects to execute SQL mands at the data source to both load the DataSet with data and reconcile changes that were made to the data in the DataSet back to the data source. The DataSetThe DataSet is explicitly designed for data access independent of any data source. As a result, it can be used with multiple and differing data sources, used with XML data, or used to manage data local to the application. The DataSet contains a collection of one or more DataTable objects consisting of rows and columns of data, and also primary key, foreign key, constraint, and relation information ab