Escolar Documentos
Profissional Documentos
Cultura Documentos
Create a simple ASP.NET Web application. The web page should have a textbox to
retrieve the name of the person, a combo box to select the category of the person, a
calendar control to select the date, a button, and a label. Clicking the button should
display the following message on a label:
“Hi name! You have selected <selected_category> on <selected_date>”.
ii. Add necessary buttons to perform add, update, and delete operation. Also, add
four buttons that provide navigation for viewing First, Next, Previous, and
Last Records. Use the dataset to perform all the operations.
a) Registration
i. Registration of new members should be allowed.
ii. Registration form should contain textboxes to accept user input like Name,
Address, Email, phone number, and date of registration of the member. Each
piece of information is mandatory. In addition, check that the user makes only
valid entries.
iii. You should be able to add/edit/delete members in the system.
iv. You should user validation controls to validate the entries made by the user
Table Schema:
Id: Integer
Name: varchar (50)
Address: varchar (100)
Email: varchar(50)
DateOfRegistration : DateTime
b) Item Management
i. Information about any item (Book, CD etc) in the library, such as Name,
Author, Publisher Name, and Category should be stored.
Table Schema
Id: Integer(Autonumber)
Name : varchar(50)
Count : Integer
Publisher Name: varchar(50)
Book Category: varchar(50)
c) Lending
i. Only registered members should be allowed to lend an item from the system.
ii. Allow a member to take a book from library.
iii. Return a book to the library
Table Schema
Id: Integer(Autonumber)
BookId: Integer - This is the ID of the book
UserId : Integer - Id of the member who lend the book
DateOfLend : DateTime
DateOfReturn : DateTime - this field will filled only at the time of return
c) Use collection or dataset to pass data in between Web form and Web service layer.
For example:
NameValueCollection NVL = new NameValueCollection();
NVL.Add(“Empid”,”1”);
d) In your Web application:
i. Create a page that displays data from the Web service.
ii. On PageLoad, call the DispData() to display the first record on the page.
iii. Update the code in Add, Modify, Delete buttons on the Web form and
perform the operation by calling the Web service methods.