University Institute of Information Technology
PMAS, Arid Agriculture University, Rawalpindi
CLASS ASSIGNMENTS
Late Assignments will not be accepted. In case of any emergency inform well before
the submission date of assignment. If any assignment is found copied then it will not
be given any marks. Each student is expected to submit his/her own work.
How to submit the assignment:
1. Create a folder named as Assignment <No>-<Class<-<Section>Roll Number. For example if you are submitting first assignment and
your roll number is 10-ARID-2002 and you are in A section then your
folder name will look like as shown below:
Assignment-1-BSCS-7-A-10-ARID-2002
2. Put your program / assignment files (including solution file, project
file(s), design / code files, database files (mdf/ldf), resource files or
external resource(s) if any), in the folder created and zip it. Please
remove executable files, as they are not supported as attachment,
3. Send zipped folder (containing your assignment) to
[email protected].
4. Email subject should be the folder name created in step 1.
VP @ ARID
University Institute of Information Technology
PMAS, Arid Agriculture University, Rawalpindi
Assignment No. 1
Marks 10
Create a windows based application which allows user to enter inventory
items into a SQL Server table and displays entered data back in data grid on
form.
Application should allow entering data for following table in SQL Server
TABLE INVENTORY
Field Name
Type
ItemID
Integer (Auto Increment)
SerialNo
INT
Description
Varchar ( 200 )
Model
Varchar ( 20 )
Location
Varchar ( 100 )
StockDate
DateTime
Available
Bit (True or False)
A list of entered items must be displayed in form and refreshed after
each insert.
User interface should apply data validations and must not allow
entering wrong data
Application should be MDI based
Make use of appropriate menus / tool bars
Should implement exception handling / try catch and display
appropriate messages if failures / exceptions
Last Date of Submission: November 21, 2014
VP @ ARID