Purchase Solution

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

Not what you're looking for?

Ask Custom Question

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."

Purchase this Solution

Solution Summary

Create a database with a table called "tblStudents

Purchase this Solution


Free BrainMass Quizzes
Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.

Javscript Basics

Quiz on basics of javascript programming language.