Use Visual Studio.NET 2005 to create an ASP.NET project with four aspx forms along with a database.

Create a database with a table called "tblStudents" with the following columns:

ID - Autonumber, Primary Key
Name - Text
Major - Text
Email - Text
Add several rows to this table.

Use Visual Studio.NET 2005 to create an ASP.NET project with four aspx forms. Use Master Pages to display a school name.

One form is called "start.aspx" and contains three TextBox controls that allow the user to enter his/her name, major, and student ID number. This form should appear when the user initially opens the application. (Hint: Use the Session_Start method contained in the global.asax file and the Response.Redirect method.) Use Session variables to save the user's entries.

The second form uses a GridView control to display the contents of the database table.

The third form uses a FormView control that displays one record at time. Provide buttons that allow the user to display a new record in the FormView control. The FormView control should also contain an "Add" button. When the user clicks this button, populate the fields of the DetailsView control with the data stored in the Session variables.

The fourth form uses a DetailsView control that also displays one record at time. Provide buttons that allow the user to display a new record in the DetailsView control. This form should only allow user to view the data. It should not allow users to modify the database.

Each form should contain a menu of buttons or hyperlinks that allow the use to move between city forms.

Use a RegularExpressionValidator control on the start page that displays an error message if the user does not enter a properly formatted e-mail address.

Please see below - very important

The directions state to provide "... three TextBox controls that allow the user to enter his/her name, major and student ID number." However, the ID field is an Autonumber data type in the database, therefore, you do not provide a value for that field when creating a new record because the RDBMS will perform that function. Therefore, the third TextBox control on start.aspx should be for the email address.

Making the above change supports the last requirement which is to "Use a RegularExpressionValidator control on the start page that displays an error message if the user does not enter a properly formatted e-mail address."

© SolutionLibrary Inc. solutionlibary.com 9836dcf9d7 https://solutionlibrary.com/computer-science/data/use-visual-studio-net-2005-to-create-an-asp-net-project-with-four-aspx-forms-along-with-a-database-3djj