ASP.NET Exercises
SOOPRO Pathshala provides ASP.NET Exercises
Day 1
ASP.NET Day 1
SOOPRO Pathshala Exercises
Day 1
1. Write asp.net program to display Hello World on button click.
2. Write asp.net program to display your full name on button click.
3. Write asp.net program to display your fav color on button click.
4. Write asp.net program to display your hobby on button click.
5. Write asp.net program program to display your fav game on button click.
6. Write asp.net program to display your father's name on button click.
7. Write asp.net program to display display current date on button click.
8. Write asp.net program to display current date and time.
9. Write asp.net program to display your fav foods.
10. Write asp.net program to display your fav subject name.
Day 2
ASP.NET Day 2
SOOPRO Pathshala Exercises
Day 2
1. Write asp.net program to print square of any number by user input on button click.
2. Write asp.net program to print cube of any number by user input on button click.
3. Write asp.net program to print sum of square and cube of any number by user input on button click.
4. Write asp.net program to print area of rectangle by user input on button click.
5. Write asp.net program to print area of circle by user input on button click.
6. Write asp.net program to print circum of circle and diameter of circle by user input on button click.
7. Write asp.net program to print area of trinagle by user input on button click.
8. Write asp.net program to print concatenation of first and last name by user input on button click.
9. Write asp.net program to print division of two integer numbers by user input on button click.
10. Write asp.net program to print multiplication of two integer numbers by user input on button click.
Day 3
ASP.NET Day 3
SOOPRO Pathshala Exercises
Day 3
1. Write asp.net program to print sum of two integer numbers by user input.
2. Write asp.net program to print sum of three integer numbers by user input.
3. Write asp.net program to print sum of two float numbers by user input.
4. Write asp.net program to print sum of two double numbers by user input.
5. Write asp.net program to print sum of three float numbers by user input.
6. Write asp.net program to print sum of three double numbers by user input.
7. Write asp.net program to print sum of two long numbers by user input.
8. Write asp.net program to print multiply of two float numbers by user input.
9. Write asp.net program to print division of two float numbers by user input.
10. Write asp.net program to print division of two double numbers by user input.
Day 4
ASP.NET Day 4
SOOPRO Pathshala Exercises
Day 4
1. Write asp.net program to print maximum of two numbers by user input.
2. Write asp.net program to print minimum of two numbers by user input.
3. Write asp.net program to print difference of maximum and minimum of three integer numbers by user input.
4. Write asp.net program to print even or odd of any number by user input.
5. Write asp.net program to print positive or negative of any number by user input.
6. Write asp.net program to print valid for age if age is greater than 18 else print not valid for vote, by user input.
7. Write asp.net program to take and display your first name by user input.
8. Write asp.net program to take your first name and display its length by user input.
9. Write asp.net program to print grade of marks by user input.
10. Write asp.net program to print week name by user input.
Day 5
ASP.NET Day 5
SOOPRO Pathshala Exercises
Day 5
1. Take two radio buttons, try to print selected radio button value on button click.
2. Take three radio buttons, try to print selected radio button value on button click.
3. Take single check box, try to print value of checkbox if it is clicked by button.
4. Take two check boxes, try to print value of selected checkbox on button click.
5. Take list of colors name in radiobutton group, print selected color on page.
6. Take list of fav foods in checklistbox group, print selected foods on label control.
7. Bind list of fav fruits with dropdownlist, print selected fruit on label control.
8. Bind list of fav subjects with dropdownlist, print selected subject on textbox control.
Day 6
ASP.NET Day 6
SOOPRO Pathshala Exercises
Day 6
1.Transfer value from one textbox to another textbox on same page on button click.
2. Transfer value from one textbox to another textbox on different page on button click.
3. Bind dropdownlist with list of colors, on selected color it should change the panel color of asp.net
4. Bind dropdownlist with list of colors, on selected color it should chnage the body of page in asp.net.
5. Bind listbox with list of countries, try to transfer selected country from one listbox to another listbox and vice versa on same page on button click.
6. Bind dropdownlist with list of fav foods, try to transfer selected food from one dropdownlist and display it to other.
7. Bind list of fav fruits with listbox, print selected fruit on label control on button click.
8. Bind dropdownlist with fav fruits, try to print selected fruit on label on dropdownlist selected changed.
Day 7
ASP.NET Day 7
SOOPRO Pathshala Exercises
Day 7
1. Create viewstate in asp.net on button click.
2. Create cookies in asp.net on button click.
3. Write cookies in asp.net on button click.
4. Read cookies in asp.net on button click.
5. Delete cookies in asp.net on button click.
Day 8
ASP.NET Day 8
SOOPRO Pathshala Exercises
Day 8
1. Store your name in hidden field in asp.net on button click.
2. Retrieve and print value of hidden field on label control in asp.net on button click.
3. Remove value of hidden field on button click in asp.net.
Day 9
ASP.NET Day 9
SOOPRO Pathshala Exercises
Day 9
1. Get first name,last name passing through url inside query string in asp.net.
2. Try to print value of querystring on other pages in asp.net.
Day 10
ASP.NET Day 10
SOOPRO Pathshala Exercises
Day 10
1. Create session on button click in asp.net.
2. Store value in session on button click in asp.net.
3. Get value of session on button click and print on label control of same page in asp.net.
4. Get value of session on button click and print on label control of other page in asp.net.
5. Remove value of session on button click in asp.net.
Day 11
ASP.NET Day 11
SOOPRO Pathshala Exercises
Day 11
1. Create Sample login in asp.net.
2. Create simple arithmetic operations in asp.net.
Day 12
ASP.NET Day 12
SOOPRO Pathshala Exercises
Day 12
1. Create login having admin and user mode in asp.net.
2. Create standard arithmetic operations in asp.net.
Day 13
ASP.NET Day 13
SOOPRO Pathshala Exercises
Day 13
1. Wap in asp.net to create employee registration form.
2. Wap in asp.net to display employee records on the basis of employee id.
Day 14
ASP.NET Day 14
SOOPRO Pathshala Exercises
Day 14
1. Wap in asp.net to show employee records on the basis of there gender
2. Wap in asp.net to show employee records on the basis of there salary
Day 15
ASP.NET Day 15
SOOPRO Pathshala Exercises
Day 15
1. Wap in asp.net to show all employees on grid view.
2. Wap in asp.net to show all employees whose first letter start with 'k'.
Day 16
ASP.NET Day 16
SOOPRO Pathshala Exercises
Day 16
1. Wap in asp.net to display all employees whose name is unique.
2. Wap in asp.net to show all employees whose last letter end with 'm'.
Day 17
ASP.NET Day 17
SOOPRO Pathshala Exercises
Day 17
1. Wap in asp.net to display results of left join of employee and department table.
2. Wap in asp.net to display results of right join of employee and department table.
Day 18
ASP.NET Day 18
SOOPRO Pathshala Exercises
Day 18
1. Wap in asp.net to display results of full outer join of employee and department table.
2. Wap in asp.net to display results of cross join of employee and department table.
Day 19
ASP.NET Day 19
SOOPRO Pathshala Exercises
Day 19
1. Wap in asp.net to bind dropdownlist with name from person table.
2. Wap in asp.net to bind dropdownlist with city from customer table.
Day 20
ASP.NET Day 20
SOOPRO Pathshala Exercises
Day 20
1. Wap in asp.net to bind dropdownlist with salary of employee, make sure that salary should be displayed in ascending order.
2. Wap in asp.net to bind dropdownlist with salary of employee,make sure that salary should be displayed in descending order.
Day 21
ASP.NET Day 21
SOOPRO Pathshala Exercises
Day 21
1. Wap in asp.net to bind dropdownlist with arraylist.
2. Wap in asp.net to bind dropdownlist with integer generic list.
3. Wap in asp.net to bind dropdownlist with stack.
4. Wap in asp.net to bind dropdownlist with queue.
5. Wap in asp.net to bind dropdownlist with static string array.
Day 22
ASP.NET Day 22
SOOPRO Pathshala Exercises
Day 22
1. Wap in asp.net to bind checkboxlist with arraylist.
2. Wap in asp.net to bind checkboxlist with integer generic list.
3. Wap in asp.net to bind checkboxlist with stack.
4. Wap in asp.net to bind checkboxlist with queue.
5. Wap in asp.net to bind checkboxlist with static string array.
Day 23
ASP.NET Day 23
SOOPRO Pathshala Exercises
Day 23
1. Wap in asp.net to upload all types of files using file upload control.
2. Wap in asp.net to upload only doc and docx files using file upload control.
3. Wap in asp.net to upload only pdf and png,jpg files using file upload control.
4. Wap in asp.net to upload only excel files using file upload control.
5. Wap in asp.net to upload only pdf files whose maximum file size will be 1 mb.
Day 24
ASP.NET Day 24
SOOPRO Pathshala Exercises
Day 24
1. Wap in asp.net to perform adrotator control.
2. Wap in asp.net to create multiview control, try to print all details on same label control in different page
3. Wap to display data of sql server on grid view, try to print data of grid in the form of pdf.
4. Wap to display data of xml on grid view.
5. Wap to add, update, delete and view records of sql server using .dll file.
Day 25
ASP.NET Day 25
SOOPRO Pathshala Exercises
Day 25
1. Wap in asp.net to upload and display your photo.
2. Wap in asp.net to upload and display your photo, try to save image url in database using .dll file
3. Wap in asp.net to create details form using bootstrap.
4. Wap in asp.net to create registration form including photo using bootstrap.
5. Wap to asp.net to create login form having admin and user dashboard using bootstrap.
Day 26
ASP.NET Day 26
SOOPRO Pathshala Exercises
Day 26
1. Wap to use required field validator control for all required fields in registration form.
2. Wap in asp.net to use compare validator for comparing password with repeat password.
3. Wap in asp.net to use range validator on corresponding textbox.
4. Wap in asp.net to use validation summary control in asp.net.
5. Wap to validate email id in asp.net web form.
Day 27
ASP.NET Day 27
SOOPRO Pathshala Exercises
Day 27
1. Wap in asp.net to allow only letters in name field.
2. Wap in asp.net to allow only numbers in age field.
3. Wap in asp.net to not allow special character.
4. Wap in asp.net to not allow white space.
5. Wap to perform custom validator control on comments field.
Day 28
ASP.NET Day 28
SOOPRO Pathshala Exercises
Day 28
1. Wap in asp.net to create application state.
2. Wap in asp.net to store data in application state and retrive on any web form.
3. Wap in asp.net to track online users using application state.
4. Try to destroy session data and application data in asp.net.
5. Try to retrive data of application state on different browers
Day 28
ASP.NET Day 28
SOOPRO Pathshala Exercises
Day 28
1. Wap in asp.net to create application state.
2. Wap in asp.net to store data in application state and retrive on any web form.
3. Wap in asp.net to track online users using application state.
4. Try to destroy session data and application data in asp.net.
5. Try to retrive data of application state on different browers
Day 29
ASP.NET Day 29
SOOPRO Pathshala Exercises
Day 29
1. Wap in asp.net to use Repeater control.
Day 30
ASP.NET Day 30
SOOPRO Pathshala Exercises
Day 30
1. Create a website having Home, About, Contact and Gallary must use master page which will hold Nav Bar.