- FarPoint.Win.Spread.CellType.ComboBoxCellType comboxcell = new FarPoint.Win.Spread.CellType.ComboBoxCellType();//下拉列表框
- comboxcell.Items = (new String[] { "1111", "2222", "3333", "4444", "5555", "6666" });
- comboxcell.AutoSearch = FarPoint.Win.AutoSearch.SingleCharacter;
- fpSpread1.Sheets[0].Cells[6, 0].CellType = comboxcell;
复制代码 某一列设置成了ComboBox并赋值,我现在需要修改这个ComboBox的某一item,或者增加一项item。
除了把第一行代码放到form下面公供调用以外,请问有没有其它方法?
谢谢!
|
|