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
Dim a As Integer
a = TextBox1.Text
For i = 1 To 10
ListBox1.Items.Add(a * i)
Next
End Sub
End Class