asp.net.ph

Skip Navigation Links

FormView Control Syntax

ASP.NET Syntax   ASP.NET Syntax for Web Controls


Displays the values of a single record from a data source using user-defined templates. The FormView control allows you to edit, delete, and insert records.

Declarative Syntax

For information on the individual members of this class, see FormView in the class library.

Remarks

The FormView control renders the contents of a single record from a data source. It is similar to the DetailsView control, except that it displays user-defined templates instead of row fields. Different user-defined templates can be assigned for viewing and updating records. Creating your own templates gives you greater flexibility in controlling how the data is displayed.

For more information on using the FormView control, see FormView Web Server Control.

Syntax Example

The following example demonstrates how to use a FormView control to display the values from an AccessDataSource control.

 Show me 

See Also

FormView Class   FormView Web Server Control



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note