Bonjour!
j'ai vraiment besoin de votre aide j'ai cherché et j'ai essayé pas mal de chose mais j'arrive pas à trouver une solution à mon problème .
j'ai une table sous access avec un champ jour de type date et je veux rechercher une date à partir d'un textbox et l'afficher dans DataGrid mais ça marche pas.j'ai une erreur de type "Type de données incompatible dans l'expression du critère"
voici mon code
command.CommandText = "select * from gestion where jour = '" & TextBox1.Text & "'"
dataadapter = New OleDbDataAdapter(command)
dataadapter.Fill(dts, "gestion")
datatable = dts.Tables("gestion")
DataGrid1.SetDataBinding(dts, "gestion")
connection.Close()
Merci

j'att votre réponse
