Monday, March 12, 2012


 

ASP.Net Assignments

Assignment1:

This assignment uses asp:TextBox controls to implement a guestbook. After entering the information, click the "Submit" button to display the entries, along with previous entries, in an asp:Listbox control.

Please sign my guestbook:


 

First Name:

Last Name:

Email:

 

Comments:

 
 
 
 

Visitors:
david
(5/11/2007 4:02:38 AM)
david@hotmail.com
informative

bobby
(5/11/2007 4:02:54 AM)
bobs@yahoo.com
good one


 


 

Assignment 2


 

This assignment uses asp:TextBox, asp:RadioButton, asp:DropDownList, and asp:CheckBox controls to conduct a survey. Entered information is displayed in a series of asp:Label controls when the "Submit" button is clicked. The tables used to format the display have border="1" attributes so you can see the page layout.

Please fill out the following survey:


 

Name:

joe

Age:

36 - 45

Classification:

Junior

Fields of Study:

Programming
Web Development

 


 

The Text properties of the controls are displayed in the output area. It is not necessary to test for entered data before displaying the survey or to clear the fields on submission.


 

Assignment 3:


 

Create a registration page. It should contain text boxes for at least first name, last name, Address, city, state, zip, and email address. It should also include a checkbox list of several (at least 5 )Newsletters.

Last name, first name and email are required fields and at least one newsletter must be checked. After they have clicked ok, you should load a page that has all their information and the Newsletters they have checked.Use Validator controls for validation.


 

Assignment 4

Create a contact us form using ASP.NET and web controls that does the following:


 

  1. Contains at least 6 fields, including at least 2 text boxes, a textarea, a select box, and either check boxes or radio buttons
    1. The form can be about whatever you want (please keep it clean)
    2. The form should submit and
      1. Display a thank you page that shows the data the user has entered
      2. Display the time that the user submitted the form


     

    Assignment 5

    Create a three step form. Step 1 should contain text boxes asking for a first name and lastname, and a continue button. Step 2 should contain a dropdownlist entitled "Describe Mark Frantz" and have 3 listitems in it. It should have a continue button, and a previous button. The previous button should go back to step 1, while the continue button should go to Step 3, which should just display what the user filled out in steps 1 and 2.(use QueryString/Sessions)


     


    Assignment 6

    Using ViewState implement a shopping cart that lets you add up items from a

    dropdown listbox to a ArrayList and on clicking the button VIEW CART displays:


     

    (a) The total number of items selected


     

    (b) A list of all the items in the cart

No comments:

Post a Comment