Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding items to combobox
Message
De
04/10/2005 10:48:12
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
04/10/2005 10:21:29
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
01054999
Message ID:
01055882
Vues:
38
I thought I posted the code I needed... Well, let's see... here is how I populate the combobox:
Dim activityDV As New DataView(gParmsDS.Tables("parms"))
activityDV.RowFilter = "parm_type = 'activity'"
cboActivity.DataSource = activityDV
cboActivity.DisplayMember = "short_desc"
cboActivity.ValueMember = "parm_id"
Here is the line binding the combobox to my datasource:
cboActivity.DataBindings.Add(New Binding("SelectedItem", regDV, "activities"))
And I am calling a web service to update my datasource. What other code do you feel I should post? Thanks!
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform