Lab Manual Week02
Lab Manual Week02
Lab Manual 2
Instructor: CLO
• Mr. Nazeef Ul Haq (Lab)
Learning Objectives:
• CRUD operations using C# language with SQL server
Helping Material:
Page 1 of 3
Lab Tasks
1. Create a new database named Lab2
2. Create table with following schema
Student(RegistrationNumber:String, Name:String , Department:String , Session:Number,
CGPA:Number, Address:String)
3. Use the student table to create the following CRUD operations
a. Add a Student
b. Edit Student
c. List of Students
d. Search Student
e. Delete Student
4. UI components for the fields should be appropriate. Change the Edit Use case to optimize such that all the
fields should not be updated in table, you need to detect, which field has been changed on frontend, then
update only those fields which have been changed. E.g. for editing of student, we change registration
number, then database should only update only registration number.
Page 2 of 3
6. Each form/page should be responsive.
Page 3 of 3