如何在此函数中设置下拉列表的选定索引。
请告诉我?
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();
}
}
由于 里兹
答案 0 :(得分:0)
语言和Gui图书馆信息对每个人都很好:)