回复 3楼洪水永不结冰的帖子
可以在单元格中嵌入 ComboBoxCellType:
- string[]cbstr;
- string[]strval;
- cbstr=new String[]{"One","Two","Three"};
- strval=new String[]{"1","2","3"};
- FarPoint.Web.Spread.ComboBoxCellType cb=new FarPoint.Web.Spread.ComboBoxCellType();
- cb.Items=cbstr;
- FpSpread1.ActiveSheetView.Columns[0].CellType=cb;
复制代码 |