Beruflich Dokumente
Kultur Dokumente
End Sub
Unenreg = ResReq.Rows(IndiceLivre)
TextBox1.Text = Unenreg(0)
TextBox2.Text = Unenreg(1)
End Sub
Private Sub btnquitter_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles btnquitter.Click
Dim i As Integer
i = MsgBox("êtes vous sûre de fermer?", MsgBoxStyle.Question +
MsgBoxStyle.YesNo)
If i = vbYes Then
Application.Exit() 'end
End If
End Sub
Else
AfficheLivre()
End If
End If
End Sub
ResReq.Rows.Add(NouveauLivre)
End Sub
'DataSetLivre.Clear()
' ResReq = DataSetLivre.Tables("Liste des livres")
MaConnexion.Close()
MsgBox(" Validation est bien effectues")
Catch ex As Exception
MsgBox(ex.Message)
End Try
End Sub
End Sub
End Class
Module
Module Module1
Public Const ChaineConn As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=D:\bdBibliotheque.mdb"
Public MaConnexion As New OleDb.OleDbConnection(ChaineConn)
Public IndiceLivre As Integer
Public Mareq As New OleDb.OleDbDataAdapter
Public ObjCmd As New OleDb.OleDbCommand
Public ChaineSql As String
Public DataSetLivre As New DataSet
Public ResReq As DataTable
Public a As Integer
Sub main()
IndiceLivre = 0
System.Windows.Forms.Application.Run(principale)
End Sub
End Modul
End Sub
End Class
Interface liste des livres par client