none
Binding to static dropdownlist

    Question

  • Hi-

    This has to be a simple question but I couldn't find it in a search. I'm simply trying to bind an integer value from my datasource to the selected index of a static dropdownlist. The dropdown has a number of fixed items in it, i.e. cat, dog, fish, and the datasource value is the index of the selection, i.e. 0,1,2. I've tried numerous ways in code and in the designer but I can't get this sucker to bind at all. I'm using C# and .NET 2.0.

    Thanks.

    -Gary

    Sunday, November 05, 2006 7:55 PM