Ask Data Structure Expert

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

Data Structure, Computer Science

  • Category:- Data Structure
  • Reference No.:- M9345957

Have any Question?


Related Questions in Data Structure

Data Communication Delivering Information anywhere

Topic: Data Communication Delivering Information anywhere. Write a 9-12 pages paper in which you: Present an overview of the origin and history of the concept. Describe the current use of and attitude toward the concept. ...

Problem regarding the management program

Problem: Looks like its just adding a save and load feature to the same file you sent me for python 3.5 Until now, you have had to leave your team management program running on your computer indefinitely since you did no ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As