fpSpread1.Sheets[0].AddSpanCell(0, 1, rowIndex, 1);
if (modelOrderStyle.Photo1 != null)
{
FarPoint.Win.Spread.CellType.ImageCellType icelltype = new FarPoint.Win.Spread.CellType.ImageCellType(FarPoint.Win.RenderStyle.StretchAndScale,Color.Black);
fpSpread1.Sheets[0].Columns[1].CellType = icelltype;
fpSpread1.Sheets[0].Cells[0, 1].Value = modelOrderStyle.Photo1.ToArray();
}
这时我加载图片的代码,用的是linq 字段Photo1类型为image |