.NET Practical Slip 20 Q A

2. Slip-1 Problem Statement

Q. Write a C#.Net program to accept and display ‘n’ customer’s details such as customer_no, Name, address, item_no, quantity, and price. Display the total price of all items. 25 Marks

Answer:

Public Class Form1
    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        TreeView1.Nodes.Add("Master")
        TreeView1.Nodes(0).Nodes.Add("Student Deatils")
        TreeView1.Nodes(0).Nodes.Add("Teacher Deatils")
        TreeView1.Nodes.Add("Examination")
        TreeView1.Nodes(1).Nodes.Add("Internal Exam")
        TreeView1.Nodes(1).Nodes.Add("External Exam")
        TreeView1.Nodes(1).Nodes.Add("Practical Exam")
    End Sub
End Class
Spread the love

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top