ComboBox + procedure de stocke
Je voudrais peuplé mon comboBox avec les résultats d'une procédure de stocke
voilà commmentj'ai procedé pour faire executer ma procedure mais comment remplir le combox box
'
Code:
1 2 3 4 5 6 7 8 9 10
| create a command object identifying the stored procedure
Dim Commande As New SqlCommand("wilayaVille", Login.Connexion)
'set the command object so it knows to execute a stored procedure
Commande.CommandType = CommandType.StoredProcedure
'add parameter to command, which will be passed to the stored procedure
Commande.Parameters.Add(New SqlParameter("@codeWilaya", 1))
Commande.ExecuteNonQuery() |
merci à toute âme charitable d'avoir l’intention de m'aider