The ListBox / Dropdown list uses an external data source (common name list) as a data source to populate items. But there is one problem, the first element is an empty element, can we remove it?
Regards,
I solved this problem. http://www.jdxyw.com/?p=590
If you are using .net 3.5, you can use some LINQ to filter empty ones:
var ds = from SPListItem item in GetListItemsCode() where item.Title != string.Empty select item;
Source: https://habr.com/ru/post/1743301/More articles:Upgrade from visual studio 2005 to visual studio 2010 - visual-studioHow do I send an HTML email address for a new registration in DRUPAL 6? - phpКак проверить чувствительность к регистру в условиях спящего режима - hibernateScala 2.8 behavior changed: _? - scalaDjango exit function removes locale settings - djangoIf my WCF web service returns a 500 or 200 http code (soap error message / function return message) - httpnested attributes with has_one polymorphic model - ruby-on-railsHow to display the contents of one site in another using PHP? - databaseHow to use PHP DOM extension loadHTML - phpReading the correct (alpha) number fields in R - rAll Articles