回复 1楼wenchaojian的帖子
请使用以下代码测试:
- protected void Page_Load(object sender, EventArgs e)
- {
- if (IsPostBack)
- {
- return;
- }
- FarPoint.Web.Spread.ButtonCellType btn = new FarPoint.Web.Spread.ButtonCellType();
- btn.ButtonType = FarPoint.Web.Spread.ButtonType.ImageButton;
- //btn.Text = "删除";
- btn.ImageUrl = "images/demo/flag_green.jpg";
- FpSpread1.Sheets[0].Columns[0].CellType = btn;
- }
复制代码 |