Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Login Page-
Form 1.vb-
End If
End If
End Sub
End Class
Form 2 design-
Form 2 Coding-
Imports System.IO
Imports System.Data.Odbc
Public Class Form2
Dim con As New OdbcConnection("dsn=netvb")
Public dadapter As New OdbcDataAdapter
Public dset As New DataSet
Public dtable As New DataTable
Dim dr As OdbcDataReader
End Sub
End If
End Sub
End Sub
con.Close()
Form3.Show()
End Sub
End Sub
If dr.HasRows Then
While dr.Read
MessageBox.Show("Record Is Available In Database")
TextBox8.Text = dr.Item("CustomerName")
Form3.Show()
End While
Else
MessageBox.Show("Record Not Available")
End If
con.Close()
End Sub
Me.Hide()
End Sub
End Sub
End Class
ScreenShot-