Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding items to combobox
Message
From
04/10/2005 10:48:12
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
04/10/2005 10:21:29
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
01054999
Message ID:
01055882
Views:
33
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/
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform