tags:

views:

24

answers:

1

hello all,

how shall I set the selected index of the dropdownlist in this function .

please tell me?

public IList GetMountainList()
    {
        int mountainId = 0;
        string mountainName = string.Empty;

        using (brandconnectionsEntities modelObject = new brandconnectionsEntities())
        {
            return (IList)(from s in modelObject.BC_mountainResortMediaList
                                          select new 
                                          {

                                              mountainId = s.mountainResortId,
                                              mountainName = s.mountainResortName,
                                              SelectExtensions = s.mountainResortId ,
                                          })
              .ToList();
        }
    }

Thanks Ritz

A: 

Language and Gui library information would be nice for everyone :)

Tx3