回复 1楼kamehameha的帖子
你好,设置方法如下:
- protected void Page_Load(object sender, EventArgs e)
- {
- if (IsPostBack)
- {
- return;
- }
- FarPoint.Web.Spread.StyleInfo style = new FarPoint.Web.Spread.StyleInfo();
- style.Border = new FarPoint.Web.Spread.Border(BorderStyle.Solid, System.Drawing.Color.Red);
- this.FpSpread1.Sheets[0].SetStyleInfo(-1, -1, style);
- }
复制代码 |