Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combobox issues
Message
De
17/06/2004 16:12:25
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
 
 
À
17/06/2004 15:50:04
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00914754
Message ID:
00914785
Vues:
11
DataGrid3.SetDataBinding(gTerminalTable, "")

'bind text boxes
txtPart.DataBindings.Add(New Binding("text", gTerminalTable, "tpart"))
txtTime.DataBindings.Add(New Binding("text", gTerminalTable, "ttime"))

'bind combobox
cboCell.DataBindings.Add(New Binding("text", gTerminalTable, "cell"))

cboCell.DataSource = gColorTable
cboCell.DisplayMember = "Cell"
cboCell.ValueMember = "Cell"



The last three lines might be over the scope of this problem, but I am limiting the contents of the combobox to items currently in another table.
Very fitting: http://xkcd.com/386/
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform