Vb.net multiline access
bizire32
Messages postés
36
Date d'inscription
Statut
Membre
Dernière intervention
-
Utilisateur anonyme -
Utilisateur anonyme -
bonjour a tous,
je voudrais savoir comment on ft pour ajouter un textbox multiline a un base de donnée access voici mon code mais il y une erreur:
Dim connect As New OleDb.OleDbConnection("provider=Microsoft.jet.OLEDB.4.0;Data Source=bdIzmarHmyed.mdb;")
connect.Open()
Dim command As New OleDb.OleDbCommand
Dim reader As OleDb.OleDbDataReader
command.Connection = connect
command.CommandText = "Insert into Soin_Diabète (Médication) values ('" + TB_Medication.Text.ToString + "');"
command.CommandType = CommandType.Text
reader = command.ExecuteReader
je voudrais savoir comment on ft pour ajouter un textbox multiline a un base de donnée access voici mon code mais il y une erreur:
Dim connect As New OleDb.OleDbConnection("provider=Microsoft.jet.OLEDB.4.0;Data Source=bdIzmarHmyed.mdb;")
connect.Open()
Dim command As New OleDb.OleDbCommand
Dim reader As OleDb.OleDbDataReader
command.Connection = connect
command.CommandText = "Insert into Soin_Diabète (Médication) values ('" + TB_Medication.Text.ToString + "');"
command.CommandType = CommandType.Text
reader = command.ExecuteReader
A voir également:
- Vb.net multiline access
- Access appdata - Guide
- Hns-self-wan-access-ipv6 - Forum Access
- Maintenance access ✓ - Forum Access
- Restructuration base de données access - Forum Access
- Migration base access vers sql server - Télécharger - Gestion de données