Program
Program
14 Write a console application program in VB.Net to check whether entered input is alphabet,
digit or special symbol.
15 Design a Calculator using VB.Net.
16 Design a login form using VB.Net.
17 Design a form having ListBox and show the functionality of ListBox.
18 Design a form having ComboBox with various items and show the selected item in a ListBox.
19 Design a Restaurant Bill.
20 Design a splash screen.
21 Design an application to prepare student result.
22 Design the form to input electricity unit and calculate total electricity bill according to the given
condition
ii) Select records from table where age>22.[Use DOB for age calculation].
iii) Count the record in the table.
Display records of the table order by DOB. In ASP.NET Perform using ADO.net
Console.ReadKey()
End Sub
End Module
Module Program
Sub Main()
Dim dayOfWeek As String = DateTime.Now.DayOfWeek.ToString()
Console.ReadKey()
End Sub
End Module
Module Program
Sub Main()
Console.Write("Enter the first number: ")
Dim num1 As Double = Convert.ToDouble(Console.ReadLine())
Console.ReadKey()
End Sub
End Module
Form Design:
o Text Boxes:
txtItemName (TextBox to enter item name)
txtQuantity (TextBox to enter quantity)
txtPrice (TextBox to enter unit price)
o Buttons:
btnAdd (Button to add an item to the bill)
btnClear (Button to clear all input fields)
btnExit (Button to exit the application)
o List Box:
ListBox1 (List box to display ordered items with quantity and price)
VB.Net
Public Class Form1
lblSubtotal.Text = subTotal.ToString("C")
lblTaxRate.Text = (taxRate * 100).ToString("P") ' Display tax rate as percentage
lblTaxAmount.Text = taxAmount.ToString("C")
lblTotal.Text = total.ToString("C")
End Sub
Customization:
You can modify the UI layout and add more controls as needed.
Enhance the code with error handling for invalid input.