Bonjour tt le monde ,
j'ai un soucis concernant une erreur de l'ASP.net:
error converting data type varchar to numeric.
cmd.CommandText
"UPDATE voyage SET matricule '" & txtmat.Text & "' " & _
" ,designation = '" & txtdesignation.Text & "' " & _
" ,nom_prenom = '" & txtNch.Text & "' " & _
" ,date_voyage = '" & txtdate.Text & "' " & _
" ,depart = '" & txtdepart.Text & "' " & _
" ,arrive = '" & txtarriver.Text & "' " & _
" ,prix = '" & txtprix.Text & "' " & _
" ,gazoil = '" & txtgazoil.Text & "' " & _
" ,frais = '" & txtfrais.Text & "' " & _
" ,observation = '" & txtobservation.Text & "' " & _
" ,num_bon = '" & txtnumbon.Text & "' " & _
" WHERE id_voyage = " & GV.DataKeys.Item(e.RowIndex).Value
' " ,date_voyage = '" & txtdate.Text & "' " & _
cmd.ExecuteNonQuery()
GV.EditIndex = -1
GV.ShowFooter = True
BindData()
Afficher la suite