6.1. Windows Forms and Web Forms

The previous chapters have discussed issuing commands to a database, retrieving data from a database, caching the data using DataSet, passing the data around, and updating the database when the data is changed by a client. This chapter completes the picture by discussing how to present data to the user. The .NET framework supports two presentation mechanisms:

  • Windows Forms provide a graphical rendering of local data using the Windows operating system user interface and controls such as list boxes and radio buttons. This mechanism has the highest fidelity—that is, the output looks like a Windows program and follows the Windows style guidelines. Windows Forms classes live in System.Windows.Forms.

  • Web Forms is a form ...

Get Essential ADO.NET now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.