i
Web Application Fundamentals
Using Internet Information Services
Web Forms
ASP.NET MVC
Web Services
ASP.NET Features
Request/Response Programming
HttpRequest Class
HTTP Collections
HttpResponse Class
Redirection
HttpUtility Class
Using Visual Web Developer
Visual Studio Forms Designer
Using Components
Shadow Copying
Using the Global.asax File
Data Binding
Different Types Of Caching
How to use Object cache
Optimizing Your ASP.NET Application
What Is Caching [Storage]
Forms Authentication
Windows Authentication
ASP.NET Security Fundamentals
Data Source Controls
SqlDataSource
SiteMapDataSource
The AccessDataSource Control
ObjectDataSource
Connection String Storage
GridView
DetailsView
FormView
ListView
DataPager
Entity Data Model
EntityDataSource
Remote Method Calls
Ajax Control Toolkit
Ajax Client Library
Rich Client Applications
Ajax [Asynchronous JavaScript and XML]
ScriptManager
UpdatePanel
Model-View-Controller Pattern
ASP.NET MVC versus Web Forms
ASP.NET MVC Projects in Visual Studio
Action Methods in MVC
Routing in MVC
Strongly-Typed Views [Add images here from the visual studio]
Model Binding
Validation
ADO.NET [ActiveX Data Object]
ASP.NET Data Providers
Connections
Commands
DataReaders and Connected Access
DataSets and Disconnected Access
It is used to displays the values of a single record from a data source using user-defined templates. The FormView control allows us to edit, insert, and delete records.
This control is by default, located in the Visual Studio toolbox, inside the Data tab. If you place FormView control to a web form, you'll see that it does not appear very user-friendly at first look. There is an only gray rectangle, like in the image below:
Syntax:
|
||
Methods of FormView Control |
||
Property |
Description |
|
|
|
|
ChangeMode |
ReadOnly/Insert/Edit. |
|
InsertItem |
We can use it to insert the record into the database. |
|
UpdateItem |
We can use to update the current record into the database |
|
DeleteItem |
We can use it to delete the current record from the database. |
|
Don't miss out!