Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DropDownList
Message
General information
Forum:
ASP.NET
Category:
Web forms
Title:
DropDownList
Miscellaneous
Thread ID:
00903782
Message ID:
00903782
Views:
58
I have a DataGrid and a DropDownList.
I want to set the DropDownList to the item associated with the value of one of the fields in my currently selected row of the DataGrid.

For instance
The DropDownList contains entries for:
Call
Meeting
To-Do

The DataGrid has a field ("Type") which will contain Call, Meeting or, To-Do.
When the user selects a row in the DataGrid, I want to DropDownList to be set to the corresponding entry.

I've thought of using a loop and looking for the entry but I'm sure there's a better way... my way seems like a work-around...

What's the proper way to do that?

Thanks,
Rick
Next
Reply
Map
View

Click here to load this message in the networking platform