Summary


ASP.NET is a new framework to write Web applications for the Microsoft .NET platform. ASP.NET supports a rich set of Web Forms controls. You can use these controls at runtime as well as design-time. In VS .NET, you can just drag these controls on a Web Form, set their properties and methods, and your application is ready to run on the Web.

You can also use ADO.NET components in Web Forms in the same way you use them in desktop applications. All ADO.NET components including the DataReader, DataSet, DataView, and DataCommand components work in the same way as they would in a desktop application. ASP.NET provides many data-bound controls you can directly bind to a data source with the help of DataSet and DataView. For example, DataGrid and ListBox are two common data-bound controls. You can use the DataSource property of these controls to bind to a DataSet.

The DataGrid is the most versatile control among all the Web controls. By using the DataGrid, you can write full-fledge database applications for your Web sites. The DataTable of the DataSet provides the programmer with a means of working with the data in these controls. A table is a collection of rows and columns. A DataTable represents a database table. With the help of the DataView class, you can bind a data table to a DataGrid or other data-bound controls.

The next chapter covers ASP.NET data-bound controls. You'll see some practical uses of these controls.




Applied ADO. NET(c) Building Data-Driven Solutions
Applied ADO.NET: Building Data-Driven Solutions
ISBN: 1590590732
EAN: 2147483647
Year: 2006
Pages: 214

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net