Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sync a drop down to existing data?
Message
From
15/04/2003 19:24:51
 
General information
Forum:
ASP.NET
Category:
Web forms
Miscellaneous
Thread ID:
00777710
Message ID:
00778135
Views:
26
Rick,

>Uhm, that's Windows Forms code <g>... <

Ooops, my bad!! < blush >

Stephen, yeah, listen to Rick, not me. <g>

~~Bonnie

>>Stephen,
>>
>>You need to DataBind it, like this:
>>
>>this.DataBindings.Add("SelectedValue", MyDataSet, "ap_opening");
>>
>
>Uhm, that's Windows Forms code <g>...
>
>But yeah, you can just assign the value to the SelectValue property in code or use the DataBinding expressions in the HTML text.
>
>FWIW, SelectedValue is new property for list style items in .Net 1.1. It doesn't exist in 1.0 for Web forms.
>
>+++ Rick ---
>
>>
>>~~Bonnie
>>
>>
>>>I have an edit page with a few (to many) drop downs.
>>>
>>>First is Opening, the Select Distinct from the data brings back 8 items and I add the other 2 making a total of 10 items.
>>>
>>>When the user picks a new item to edit how do I sync the opening "Left" dropdown with the dataset ap_opening column?
>>>
>>>TIA
>>>
>>>__Stephen
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform