Bonjour , je voudrais remplir ma dropdownlist mais cela ne marche pas :cry:
voila le code :
j'ai vérifié la table , il y existe des valeurs qui doivent être affichées :?Code:
1
2
3
4
5 Dim query2 As String = "select distinct MOTIF_REBUT from CARTES" Dim dsMotif As DataSet = Provider.FillDataSet(CommandType.Text, query2) motifRebut.DataSource = dsMotif.Tables("CARTES") motifRebut.DataTextField = "MOTIF_REBUT" motifRebut.DataBind()
help