Drop down menu 下拉列表的选定索引?
如何在此功能中设置dropdownlist的选定索引 请告诉我Drop down menu 下拉列表的选定索引?,drop-down-menu,Drop Down Menu,如何在此功能中设置dropdownlist的选定索引 请告诉我 public IList GetMountainList() { int mountainId = 0; string mountainName = string.Empty; using (brandconnectionsEntities modelObject = new brandconnectionsEntities()) {
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();
}
}
谢谢
Ritz语言和Gui库信息对每个人都很好:这个问题与您在这里发布的其他问题有何不同:这里:?