LAB ASSIGNMENT RECORD
On
BCA657
C# Lab
COLLEGE OF COMPUTING SCIENCES AND INFORMATION
TECHNOLOGY
TMU, MORADABAD
Jan 2022 - July 2022
Submitted To: Submitted By:
Mr. Pradeep kumar Shah (Student Name)
(Course, Semester, Section)
(University Roll Num)
Lab Assignment No: 1
S.NO PROGRAM NAME PAGE DATE SIGN REMARK
NO
1 WCP to display a message “HELLO INDIA” on console.
2 WCP to perform arithmetic operation.
3 WCP to find weather a year is leap or not.
4 WCP to find the grades of a student according to their scores.
5 WCP to find factorial using for, while, do…While loops.
6 WCP to print table from 1-10.
7 WCP to perform various string operations.
8 WCP to identify choice of user using select…Case.
9 WCP to declare & initialize various types of variables.
10 WCP to find the largest number among three numbers.
11 WCP to find maximum element in array a of size n.
12 WCP to find minimum element in array a of size n.
13 WCP to find LCM of two numbers.
14 WCP to find the area of a circle.
15 WCP to convert decimal to binary number.
16 WCP to swap four numbers without using fifth variable.
17 WCP to sort an array.
18 WCP to print
1
12
123
1234
19 WCP to print
1
21
321
4321
20 WCP to print
1
22
333
4444
Lab Assignment No: 2
S.NO PROGRAM NAME PAGE DATE SIGN REMARK
NO
1. WWP to find the area of a circle by using required widows
controls.
2. WWP to calculate sum if the digit of number enter by the user.
3. WWP to find reverse of a number entered by the user.
4. WWP to enter any number and check whether the number is
perfect or not.
5. WWP to copy text of one textbox into another.
6. WWP to align text left, right & center in textbox.
7. WWP to clear all textboxes by using for each loop.
8. WWP to implement message box (YES/NO type) on button click
event.
9. WWP to show data in Datagrid using SqlServer2008.
10. WWP to implement login form.
11. WWP to copy list item from one to another.
12. WWP to find which checkbox is checked.
13. WWP to find which radio button is selected in a group.
14. WWP to load image in picture box.
15. WWP to show data in combo box using SqlServer2008.
16. WWP to implement calculator.
17. WWP to validate textbox for empty value.
18. WWP to validate textbox for integer value.
19. WWP to insert record in database of employees having fields
namely empid, empname and empsalary.
20. WWP to bind the values in dropdown list through coding.
Lab Assignment No: 3
S.NO PROGRAM NAME PAGE DATE SIGN REMARK
NO
1 WWP to implement calculator in ASP.net with C#.
2 WWP to implement login form in ASP.net which field name
are:-Username, Password.
3 WWP to implement Registration form in ASP.net which
field name are:-RegID, UserName, Address, State, City,
PhoneNo, EmailId, PinNo.
4 WWP to implement combobox in ASP.net and fetch the
State or City data from the database.
5 Create a ASP.Net web applications application in which
contain three field:
Student Id(Perform Auto Increment and initial start
with 10001)
Student Name
Student Course
Use New Button for Auto increment in Id and save
button for save the record with the disconnected
architecture.
6 Create ASP.Net web applications which contain a data
grid, when form will be load then data grid fill with
predefined database with disconnected architecture.
7 Create ASP.Net web application which contains a data
grid, when form load this data grid fill with predefined
database in sorted manner and contain two textbox one
for Student Name and another for Student id to perform
pattern search operation as per textbox value in the
Data Grid with disconnected architecture.
8 Create an application which contains fallowing fields:
Employee ID (Created By User)
Employee Name
Employee Date Of Birth
Employee City
Employee Mobile No
To perform the following operations
Add Button for New Record
Save Button for Save new Record
Delete Button for Delete a record as per
click on the Grid and fill all the Text
boxes
Update Button for Update a Record as
per click on the Grid and fill all the Text
Boxes
Exit for exit from the application
9 WWP to fetch student Name in a combobox from a
Student table in connected mode. (Take Table Fields as
Rollno, StudentName, Course, Contactno, Address) in
ASP.Net.
10 WWP to fetch student Record in a DataGridview from a
Student table in connected mode in ASP.Net.
11 WWP to fetch, insert, delete and update student Record
from Student table in connected mode and also use
try…catch… statement in ASP.Net.
12 WWP to fetch student Record in a textboxes by clicking the
row of DataGridview and DataGridview receives data from
student table in connected mode in ASP.Net.
13 WWP to fetch student Record in a textboxes from a
Student table and use previous and next button to navigate
records in ASP.Net.
14 Write Web based Program to fetch student Record in a
Gridview from a Student table by using the DataSet Class in
disconnected mode in ASP.Net.
15 Write Web based Program to fetch student Record in a
Gridview from a Student table by using the DataTable Class
in disconnected mode in ASP.Net.
16 Write Web based Program to create a Login Page and take
Login table having fields as Username, Password in
ASP.Net.
17 Write Web based Program to create master page having
menus as Home, About Us, and Contact Us. Products in
ASP.Net.
18 Create two web pages and display data of one web page on
another web page using statement management technique
namely Application in ASP.Net.
19 Write Web based Program to use the
RequiredFieldValidator in ASP.Net.
20 Write Web based Program to use the CompareValidator in
ASP.Net