Creating Web Forms for Data Entry
Now that you have a sense of how to retrieve and manipulate data using ADO.NET, you'll need to have a strategy for building user interfaces in ASP.NET to access database functionality.
Like other Web-programming paradigms, the process of inserting or updating data through a Web browser typically involves constructing an HTML form that contains an array of input controls. The user inserts or changes values in the controls on the form and then submits the form to the Web server. The server passes the form contents to a script that then forms the actual data operation.
Listing 11.14 shows a simple example of an ASP.NET page that facilitates data entry.
Listing 11.14. Simple Data-Entry Form
<% @Page language='c#' ...