我想添加“< - select - >”添加“< - select - >”在我的组合框的第0个索引处。现在我面临的问题是“< - select - >”在最后一行组合框中显示 [英] I want to add Add the "<--select-->" at 0th index of my combobox. Now i'm facing the issue is "<--select-->" is showing at last line of combobox
本文介绍了我想添加“< - select - >”添加“< - select - >”在我的组合框的第0个索引处。现在我面临的问题是“< - select - >”在最后一行组合框中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
List<AList> objList = new List<AList>();
objList.Add(new AList { ACode = "0", Description = "<-- Select -->" });
objApproverlist = objApproverlist.Concat(objList).ToList();
推荐答案
尝试使用INSERT:
示例:
Try to use INSERT:
Example:
List<AList> objList = new List<AList>();
objList.Insert(0, "<-- Select -->" });
//Do rest of your binding code here
Hope it helps :)
这篇关于我想添加“< - select - >”添加“< - select - >”在我的组合框的第0个索引处。现在我面临的问题是“< - select - >”在最后一行组合框中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文