请教ComboBoxCellType选择的问题,谢谢
FarPoint.Web.Spread.ComboBoxCellType cb = new FarPoint.Web.Spread.ComboBoxCellType();
cb.DataSource = dt;
cb.ShowButton = false;
cb.DataMember = "PZTYPE/PZNAME";
cb.DataTextField = "PZNAME";
cb.DataValueField = "PZTYPE";
cb.UseValue = true;
FpSpread2.ActiveSheetView.Cells.CellType = cb;
设置1,3单元格为ComboBoxCellType 类型,当为此单元格用以下语句赋值的时候
FpSpread2.Cells.Text = "库房1";的时候,不显示。
需要给Value赋值,给PZTYPE 的值
页:
[1]