Professional Documents
Culture Documents
Step 1. For downloading the Visual Studio IDE, go through the link given below:
https://www.visualstudio.com/downloads
Step 2. As clicked on download link, it starts downloading an .exe file, as shown in the image
below.
Step 3. Click on the .exe file and then, it shows a pop-up window.
Step 4. Click on the Run button, and then it shows the below image.
Step 7. It shows the screen below, in which you have to click on the install button as shown.
Step 8. After clicking on install button, your Visual Studio IDE will start downloading and then
it displays the screen, as we have shown below.
Step 9. From the above image, select .NET desktop development and click on install open
which may take some time to download the Visual Studio in your system, as shown in below
image.
Step 10. After successfully downloading and installing the Visual Studio' supportive file, it
shows the below screen in your system.
Step 11. Click on Launch button, and then it shows the below image in your screen that
represents Visual Studio has been successfully launched in your machine.
And then it shows a below screen to select the Visual Studio theme. By default, it takes Blue
theme, and if you want to change, you can easily change the Visual Studio theme by clicking on
other themes.
Step 12. After selecting the Theme, click on Start Visual Studio and then it shows a below
image in your system screen for creating a new project.
Step 13. After click on Create a new project, it shows the below screen to choose what type of
application you are going to build in Visual studio. In this you can select the Console based
application or Window Form Based application, as shown in below image. Here we chose the
Console based application, and then click on the Next button.
Step 14. When you click the Next button, it shows the below image to define the project name,
and also reminds if you want to place the solution and project in the same directory.
Step 15. And finally, your new project will be successfully created.
Practical No-2
Aim: Design VB.NET application using Existing Namespaces and User Defined Namespaces.
Program:
Imports System
Namespace outer
Public Class nameout
Public Shared Function disp()
Console.WriteLine("Hii this is outer name space")
End Function
End Class
Namespace inner
Public Class namein
Public Shared Function disp()
Console.WriteLine("Hii this is inner name space")
End Function
End Class
End Namespace
End Namespace
Module namespaceprg
Sub Main()
Console.Clear()
outer.nameout.disp()
outer.inner.namein.disp()
Console.ReadLine()
End Sub
End Module
Output:
EXERCISE:
Program:
Namespace student
Public Class student_info
Public Shared Function disp()
Console.WriteLine("Name:Nikita")
Console.WriteLine("Branch:Information Technology")
Console.WriteLine("class:SYIT")
End Function
End Class
End Namespace
Module Module1
Sub Main()
Console.Clear()
student.student_info.disp()
Console.ReadLine()
End Sub
End Module
Output:
Practical No-3
Program:
Module Module1
Sub Main()
MsgBox("hello World")
End Sub
End Module
Output:
Exercise:
1. Implement the program to generate result of any arithmetic operation using
MsgBox().
Program:
Module ARITHMETIC_EXP_Msgbox_exercise1
Sub main()
Dim a As Integer = 100
Dim b As Integer = 50
MsgBox("ADDITION=" & Val(a) + Val(b))
MsgBox("SUBSTRACTION=" & Val(a) - Val(b))
MsgBox("MULTIPLICATION=" & Val(a) * Val(b))
MsgBox("DIVISION=" & Val(a) / Val(b))
MsgBox("REMAINDER=" & Val(a) Mod Val(b))
End Sub
End Module
Output:
2. Write a program using InputBox(), MsgBox() & perform various arithmetic
expressions.
Program:
Module inputbox_msgbox_exercise2
Sub main()
Dim a As Integer
Dim b As Integer
a = InputBox("enter value of a:")
b = InputBox("enter value of b:")
MsgBox("ADDITION=" & Val(a) + Val(b))
MsgBox("SUBSTRACTION=" & Val(a) - Val(b))
MsgBox("MULTIPLICATION=" & Val(a) * Val(b))
MsgBox("DIVISION=" & Val(a) / Val(b))
MsgBox("REMAINDER=" & Val(a) Mod Val(b))
End Sub
End Module
Output:
Practical No-4
Program:
Module Module1
Sub Main()
Dim a As Integer
Dim b As Integer
Console.WriteLine("enter value of a:")
a = Integer.Parse(Console.ReadLine())
Console.WriteLine("enter value of b:")
b = Integer.Parse(Console.ReadLine())
If a <= b Then
Console.WriteLine("value of a is less than b")
Else
Console.WriteLine("value of b is greater than a")
End If
Console.ReadLine()
End Sub
End Module
Output:
Practical Related Questions:
Program:
Module greatestnobetween3
Sub main()
Dim a As Integer
Dim b As Integer
Dim c As Integer
a = 100
b = 200
c = 150
If a > b Then
If a > c Then
Console.WriteLine("greatestest no is a")
Else
Console.WriteLine("greatestest no is c")
End If
Else
If b > c Then
Console.WriteLine("greatestest no is b")
Else
Console.WriteLine("greatestest no is c")
End If
End If
Console.ReadLine()
End Sub
End Module
Output:
2. Implement the program using if-else statement to find the number is even or
odd.
Program:
Module Module1
Sub Main()
Dim a As Integer
Console.WriteLine("enter any number:")
a = Integer.Parse(Console.ReadLine())
If a Mod 2 = 0 Then
Console.WriteLine("EVEN no!!")
Else
Console.WriteLine("ODD no!!")
End If
Console.ReadLine()
End Sub
End Module
Output:
Exercise:
Program:
Module Module1
Sub Main()
Dim per As Integer
Console.WriteLine("enter percentage")
per = Integer.Parse(Console.ReadLine())
If per >= 75 Then
Console.WriteLine("DISTINCTION class!!")
ElseIf per >= 60 Then
Console.WriteLine("FIRST class!!")
ElseIf per >= 40 Then
Console.WriteLine("PASS class!!")
Else
Console.WriteLine("FAIL!!")
End If
Console.ReadLine()
End Sub
End Module
Output:
2. Write the output of the following code.
Program:
Module Module1
Sub Main()
Dim i As Integer
i=4
Dim a As Double
a = -1.0
If (i > 0) Then
If (a > 0) Then
Console.WriteLine("here i am!!")
Else
Console.WriteLine("no here i am??")
Console.WriteLine("actually here i am??")
Console.ReadLine()
End If
End If
End Sub
End Module
Output:
Practical No-5
Sub Main()
Dim grade As Char
Console.WriteLine("enter the grade:")
grade = Console.ReadLine()
Select Case grade
Case "A"
Console.WriteLine("EXCELLENT!!")
Case "B"
Console.WriteLine("GOOD!!")
Case "C"
Console.WriteLine("PASS!!")
Case "D"
Console.WriteLine("TRY AGAIN!!")
Case Else
Console.WriteLine("INVALID GRADE")
End Select
Console.WriteLine("YOUR GRADE IS {0}", grade)
Console.ReadLine()
End Sub
End Module
Output:
EXERCISE:
Program:
Module pract5_exercise1
Sub main()
Dim str As String = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
Dim ch as char
Dim count As Integer = 0
For Each ch In str
Select Case ch
Case "A", "E", "I", "O", "U"
count = count + 1
End Select
Next
Console.WriteLine("number of vowels in A to Z={0}", count)
Console.ReadLine()
End Sub
End Module
Output:
Program:
Module Module1
Sub Main()
Dim a As Integer
Dim b As Integer
Dim choice As Char
Console.WriteLine("enter value of a")
a = Integer.Parse(Console.ReadLine())
Console.WriteLine("enter value of b")
b = Integer.Parse(Console.ReadLine())
Console.WriteLine("A for addition")
Console.WriteLine("B for substraction")
Console.WriteLine("c for multiplication")
Console.WriteLine("D for division")
Console.WriteLine("ENTER YOUR CHOICE")
choice = Console.ReadLine()
Select Case choice
Case "A"
Console.WriteLine("addition of two no is={0}", a + b)
Case "B"
Console.WriteLine("addition of two no is={0}", a - b)
Case "C"
Console.WriteLine("addition of two no is={0}", a * b)
Case "D"
Console.WriteLine("addition of two no is={0}", a / b)
Case Else
Console.WriteLine("INVALID CHOICE")
End Select
Console.ReadLine()
End Sub
End Module
OUTPUT:
Practical No-6
Sub Main()
Dim a As Integer = 1
While a <= 20
Console.WriteLine("value of a={0}", a)
a=a+1
End While
Console.ReadLine()
End Sub
End Module
Output:
Do-while loop program:
Module Module1
Sub Main()
Dim a As Integer = 1
Do
Console.WriteLine("value of a={0}", a)
a=a+1
End Module
Output:
EXERCISE:
Write a program using while statement to print the prime numbers between 1-100
Program:
Module exercise_1
Sub Main()
b = True
End If
i += 1
End While
break:
If b Then
Console.WriteLine(num)
End If
num += 1
End While
Console.ReadLine()
End Sub
End Module
Output:
Program:
Module Module1
Sub Main()
Dim i As Integer
Console.WriteLine("EVEN ODD Numbers between 1 to 50")
Console.WriteLine("No EVEN ODD")
Console.WriteLine("=========================")
For i = 1 To 50
If i Mod 2 = 0 Then
Console.WriteLine(i & " YES NO")
End If
Console.WriteLine(i & " NO YES")
Next
Console.ReadLine()
End Sub
End Module
Output:
Practical No-7
Sub Main()
Dim i As Integer
For i = 1 To 50
Console.WriteLine(i)
i=i+1
Next
Console.ReadLine()
End Sub
End Module
Output:
For each loop program:
Module Module1
Sub Main()
Dim i As Double
Dim a() As Integer = {10, 20, 30, 40, 50}
For Each i In a
Console.WriteLine(i)
Next
Console.ReadLine()
End Sub
End Module
Output:
Module PractRelated_1
Sub Main()
For i = 0 To -10 Step -1
Console.WriteLine(i)
Next
Console.ReadKey()
End Sub
End Module
Output:
Program:
Module PractRelated_2
Sub main()
Dim i As Double
For i = 3.5 To 8.5
Console.WriteLine(i)
i = i - 0.5
Next
Console.ReadKey()
End Sub
End Module
Exercise:
1. Write the situation where for each loop statements can be implemented.
Program:
Module exercise_1
Sub main()
Dim name = New String() {"Nikita", "Tejal", "Sneha", "Jaya", "Samruddhi"}
Output:
2. Write a program using for next loop statement to find the Armstrong
numbers between 1 to 500 (153 is Armstrong number 1^3+5^3=3^3=153)
Program:
Module Exercise_2
Sub main()
Dim num, temp, r, s, t As Integer
Console.WriteLine(" Armstrong Number Between 1 to 500: ")
For num = 1 To 500
temp = num
s=0
For t = 0 To num
r = temp Mod 10
s = (r * r * r) + s
temp = temp \ 10
Next
If num = s Then
Console.WriteLine(num)
End If
Next
Console.ReadKey()
End Sub
End Module
Output:
Practical No-8
Aim: Design windows application using Text Box, Label & Button
Practical Related Questions:
Design screen:
Program:
Public Class practRelated_2
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim btn As New Button
btn.Name = "btn"
btn.Location = New Point(50, 40)
btn.Size = New Size(150, 30)
btn.Text = "Me here"
Me.Controls.Add(btn)
AddHandler btn.Click, AddressOf btn_click
End Sub
Private Sub btn_click()
MsgBox("Hello", MsgBoxStyle.OkOnly + MsgBoxStyle.Information, "Button")
End Sub
End Class
Output:
EXERCISE:
Design screen:
Program:
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim a, b, c As Integer
a = TextBox1.Text
b = TextBox2.Text
c=a+b
TextBox3.Text = c
End Sub
End Sub
End Sub
End Sub
Output:
2. Write a program to change the background color of the form when user
clicks on different button.
Design screen:
Program:
Public Class EXERCISE2
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Me.BackColor = Color.Red
End Sub
Output:
Aim: Design windows application using radio button & check box
Design screen:
Program:
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
RadioButton1.Checked = True
End Sub
1. Write a program using radio button to change the bulb state ON/OFF.
Design screen:
Program:
Public Class practrelated1
Private Sub RadioButton1_CheckedChanged(sender As Object, e As EventArgs) Handles
RadioButton1.CheckedChanged
PictureBox1.Show()
PictureBox2.Hide()
End Sub
Private Sub RadioButton2_CheckedChanged(sender As Object, e As EventArgs) Handles
RadioButton2.CheckedChanged
PictureBox1.Hide()
PictureBox2.Show()
End Sub
Design screen:
Program:
Public Class Form2
Private Sub RadioButton3_CheckedChanged(sender As Object, e As EventArgs) Handles
RadioButton3.CheckedChanged
Label1.ForeColor = Color.Yellow
End Sub
Output:
Practical No-10
Design screen:
Program:
Public Class Form1
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
ListBox1.Items.Add("sunday")
ListBox1.Items.Add("monday")
ListBox1.Items.Add("tuesday")
ListBox1.Items.Add("wednesday")
ListBox1.Items.Add("thursday")
ListBox1.Items.Add("friday")
ListBox1.Items.Add("saturday")
ListBox1.SelectionMode = SelectionMode.One
ComboBox1.Items.Add("week days")
ComboBox1.Items.Add("year")
End Sub
Output:
Practical Related Questions:
Design screen:
Program:
Public Class practrelated1
Private Sub practrelated1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
ListBox1.Items.Add("JAVA")
ListBox1.Items.Add("CPP")
ListBox1.Items.Add("OOP")
ListBox1.Items.Add("DBMS")
ListBox1.Items.Add("MIC")
ListBox1.Items.Add("GAD")
ListBox1.Items.Add("SEN")
ListBox1.SelectionMode = SelectionMode.MultiSimple
End Sub
Design screen:
Program:
Public Class practrelated2
Private Sub practrelated2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
ComboBox1.Items.Add("GOVERNMENT POLYTECHNIC AWASARI(KH)")
ComboBox1.Items.Add("GOVERNMENT POLYTECHNIC PUNE")
ComboBox1.Items.Add("PIMPRI CHINCHWAD POLYTECHNIC COLLEGE")
ComboBox1.Items.Add("INDIRA GANDHI POLYTECHNIC BELWANDI")
ComboBox1.Items.Add("GOVERNMENT POLYTECHNIC AHMEDNAGAR")
End Sub
End Class
Output:
EXERCISE:
1. Implement a program for student registration which will allow the student to
register for multiple subjects for single semester using list & combo box.
Design screen:
Program:
Public Class pract10_exercise
Private Sub pract10_exercise_Load(sender As Object, e As EventArgs) Handles
MyBase.Load
ComboBox1.Items.Add("1st Semester")
ComboBox1.Items.Add("2nd Semester")
ComboBox1.Items.Add("3rd Semester")
ComboBox1.Items.Add("4th Semester")
End Sub
Private Sub ComboBox1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles
ComboBox1.SelectedIndexChanged
If ComboBox1.SelectedIndex = 0 Then
ListBox1.Items.Add("ENGLISH")
ListBox1.Items.Add("PHYSICS")
ListBox1.Items.Add("CHEMESTRY")
ListBox1.Items.Add("MATHEMATICS")
End If
If ComboBox1.SelectedIndex = 1 Then
ListBox1.Items.Clear()
ListBox1.Items.Add("ELEMENTS OF ELECTRICAL ENGINEERING")
ListBox1.Items.Add("APPLIED MATHEMATICS")
ListBox1.Items.Add("BASIC ELECRONICS")
ListBox1.Items.Add("PROGRAMMING IN C")
End If
If ComboBox1.SelectedIndex = 2 Then
ListBox1.Items.Clear()
ListBox1.Items.Add("OOP")
ListBox1.Items.Add("DATA STRUCTURE")
ListBox1.Items.Add("PRINCIPLE OF DATABASE")
ListBox1.Items.Add("DATA COMMUNICATION")
ListBox1.Items.Add("DT AND MICROPROCCESSOR")
ListBox1.Items.Add("MULTIMEDIA TECHNIQUES")
End If
If ComboBox1.SelectedIndex = 3 Then
ListBox1.Items.Clear()
ListBox1.Items.Add("JAVA")
ListBox1.Items.Add("SOFTWARE ENGG")
ListBox1.Items.Add("DATABASE MANAGEMENT")
ListBox1.Items.Add("COMPUTER NETWORK")
ListBox1.Items.Add("GUI APPLICATION DEVELOPMENT")
End If
End Sub
End Class
Output:
Practical No.11
Aim:Design Windows apllication using picture Box and pannel.
Program:
End Sub
End Sub
End Sub
Output:
Exercise:
Program:
Design Screen:
Output:
2]Write a program To demostrate use of panel control in vb.net.
Program:
End Sub
Design screen:
Output:
Practical No 12
Progarm:
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
If TextBox1.Text = "Tejalsawale331@gmail.com" Then
MsgBox("Mail ID submitted")
Else
MsgBox("Wrong mail Id")
End If
End Sub
Design Screen:
Output Screen:
Timer:
Program:
Public Class Form1
Dim m As Integer = 0
Dim s As Integer = 0
Dim m1 As Integer = 0
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
End Sub
End If
If s = 60 Then
m1 = 0
s += 1
If m = 60 Then
Timer1.Stop()
m=0
s=0
m1 = 0
Label1.Text = m & " : " & s & " : " & m1
End If
End If
End Sub
Design Screen:
Output Screen:
Exercise:
End Sub
End Sub
Design Screen:
Output:
Practical No. 13 & 14
Aim: Write a program to perform validation using regular expression and error
provider.
Design Screen:
Program:
Imports System.Text.RegularExpressions
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
If Not IsNumeric(Me.TextBox2.Text) Then
Me.ErrorProvider1.SetError(Me.TextBox2, "Not allowed string")
Return
Else
Me.ErrorProvider1.SetError(Me.TextBox2, "")
MsgBox("Submitted")
End If
End Sub
End Sub
End Class
Output Screen:
Prcatical No. 15
Program:
Public Class Form1
Sub hello()
MessageBox.Show("Hello world")
End Sub
End Class
Design Screen:
Output Screen:
Area of Rectangle:
Program:
Module Module1
Sub Areaofrectangle(ByRef length As Double, ByRef width As Decimal)
Dim Area As Double
Area = length * width
End Module
Output:
Practical No. 16
Program:
Module Module1
res = FindMax(a, b)
Console.WriteLine("Max value is : {0}", res)
Console.ReadLine()
End Sub
End Module
Output:
Practical No. 17
Program:
Module Module1
Class Figure
Public len As Double
Public breadth As Double
End Class
Sub Main()
Dim Rectangle As Figure = New Figure()
Dim Area As Double = 0.0
Rectangle.len = 20.0
Rectangle.breadth = 14.0
area = Rectangle.len * Rectangle.breadth
Console.WriteLine("Area of Rectangle is : {0}", area)
Console.ReadKey()
End Sub
End Module
Output:
Practical No. 18
Progam:
Module Module1
Class Line
Private length As Double ' Length of a line
Public Sub New() 'parameterised constructor
Console.WriteLine("Object is being created")
End Sub
Protected Overrides Sub Finalize() ' destructor
Console.WriteLine("Object is being deleted")
Console.ReadKey()
End Sub
Public Sub setLength(ByVal len As Double)
length = len
End Sub
End Module
Output:
Practical No. 19
Program:
Module Module1
Class laptop 'Base Class
Private ram As Integer
Private hdd As Integer
Sub input_laptop()
Console.WriteLine("Enter the RAM and HDD value:")
ram = Console.ReadLine()
hdd = Console.ReadLine()
End Sub
Sub Display()
Console.WriteLine("RAM capacity is:" & ram)
Console.WriteLine("HDD capacity is:" & hdd)
End Sub
End Class
End Sub
End Module
Output:
Practical No. 20 & 21
Program:
Method Overloading:
Module Module1
Public Class demo
Public Overloads Function add(ByVal a As Integer, ByVal b As Integer)
Console.WriteLine("You are in function add(a,b)")
Return a + b
End Function
Public Overloads Function add(ByVal a As Integer, ByVal b As Integer, ByVal c As
Integer)
Console.WriteLine("You are in function add(a, b, c)")
Return a + b + c
End Function
End Class
Sub Main()
Dim obj As New demo
Console.WriteLine(obj.add(4, 2))
Console.WriteLine(obj.add(4, 5, 1))
Console.WriteLine("press return to exit...")
Console.ReadLine()
End Sub
End Module
Output:
Method Overriding:
Module Module1
Class Over
Public Overridable Function add(ByVal x As Integer, ByVal y As Integer)
Console.WriteLine("Function Inside Base Class")
Return (x + y)
End Function
End Class
Class DerOver
Inherits Over
Public Overrides Function add(ByVal x As Integer, ByVal y As Integer)
Console.WriteLine(MyBase.add(120, 100))
Console.WriteLine("Function Inside Derived Class")
Return (x + y)
End Function
End Class
Sub Main()
Dim obj As New DerOver
Console.WriteLine(obj.add(10, 100))
Console.ReadLine()
End Sub
End Module
Output:
Practical No. 22
Program:
Module Module1
Sub Main()
Dim p As New parent
Dim c As New child
p.use()
c.use()
Console.WriteLine("________________________________")
p.disp()
c.disp()
Console.ReadLine()
End Sub
Public Class parent
Public Sub disp()
Console.WriteLine("Parent")
End Sub
Public Sub use()
Me.disp()
End Sub
End Class
Public Class child
Inherits parent
Public Shadows Sub disp()
Console.WriteLine("Child")
End Sub
End Class
End Module
Output:
Practical No. 23
Aim: Construct a program to handle run time error using Exception Handling.
Program:
Module Module1
Sub division(ByVal num1 As Integer, ByVal num2 As Integer)
Dim result As Integer
Try
result = num1 \ num2
Catch e As DivideByZeroException
Console.WriteLine("Exception caught: {0}", e)
Finally
Console.WriteLine("Result: {0}", result)
End Try
End Sub
Sub Main()
division(25, 0)
Console.ReadKey()
End Sub
End Module
Output:
Practical No. 24
Design Screen:
Program:
Imports System.Data.OleDb
Public Class Form1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
Dim con As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=C:\Users\Tejal Sawant\Documents\DBMS_practical\student_info.accdb")
Dim cmd As New OleDbCommand("select * from student", con)
Dim da As New OleDbDataAdapter(cmd)
Dim ds As New DataSet
Dim dt As New DataTable
ds.Tables.Add(dt)
da.Fill(dt)
con.Open()
DataGridView1.DataSource = dt.DefaultView
con.Close()
End Sub
End Class
Output Screen:
Practical No. 25 & 26
Design Screen:
Program:
Imports System.Data.OleDb
Public Class Form1
Dim con As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=C:\Users\Tejal Sawant\Documents\DBMS_practical\student_info.accdb")
Dim cmd As New OleDbCommand("select * from student", con)
Dim da As New OleDbDataAdapter(cmd)
Dim ds As New DataSet
Dim max As Integer
Dim min As Integer = 0
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
con.Open()
da.Fill(ds, "student")
max = ds.Tables(0).Rows.Count
MsgBox(max)
navigate(min)
con.Close()
End Sub
Private Sub navigate(ByVal r As Integer)
TextBox1.Text = ds.Tables(0).Rows(r).Item(0)
TextBox2.Text = ds.Tables(0).Rows(r).Item(1)
TextBox3.Text = ds.Tables(0).Rows(r).Item(2)
End Sub
Aim: Understand the concept of select and insert data in database table
Design Screen:
Program:
Imports System.Data
Imports System.Data.OleDb
Public Class Form1
Dim con As New OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data
Source=C:\Users\Tejal Sawant\Documents\DBMS_practical\student_info.accdb")
Dim cmd As OleDbCommand
Dim da As OleDbDataAdapter
Dim ds As New DataSet
Dim dt As New DataTable
Dim i As Integer = 0
TextBox1.Text = ds.Tables("student").Rows(r)("ID")
TextBox2.Text = ds.Tables("student").Rows(r)("Fname")
TextBox3.Text = ds.Tables("student").Rows(r)("Lname")
End Sub
End Class
Output Screen:
Practical No. 28,29 & 30
Design Screen:
Output Screen:
Practical No. 31
Design Screen:
Output Screen:
Practical No. 32
Design Screen:
Program: