private void FillCombobox_exportSettings()
{
// Parameters :
//
// Descriptions :
// fill the exportSettings name into the combobox
// Return :
// Author/Date : 2022-10-19, Daniel Yang
try
{
ArrayList objList = new ArrayList();
objList.Add(new Library.Core.ClassLibrary.ControlHelper.ComboObject_String(System.Convert.ToString("aaa").Trim(), "ccc"));
objList.Add(new Library.Core.ClassLibrary.ControlHelper.ComboObject_String(System.Convert.ToString("vvv").Trim(), "bbb"));
// link the final list to the combo datasource
var with_1 = this.ComboExportSettings;
with_1.DataSource = null;
//with_1.MultiColumn = true; //是否显示两行,
with_1.DataSource = objList;
with_1.ValueMember = "ID";
}
catch (Exception objE)
{
Tecsys.Library.DebugLibrary.SysError.Add(this.DBHelper, objE);
}
finally
{
}
}
net,StdComboBox(下拉选择器) 手动填充数据
最新推荐文章于 2023-12-11 01:33:45 发布