如题:
ImageCellType imageCellType = new ImageCellType();
spread.Sheets[j].Columns[(int)InCols.WARNING].CellType = imageCellType;
sv.Cells[rowIndex, (int)InCols.WARNING].NoteIndicatorSize = new Size(5, 5);
sv.Cells[rowIndex, (int)InCols.WARNING].ForeColor = Color.Red;
sv.Cells[rowIndex, (int)InCols.WARNING].NoteIndicatorColor = Color.Red;
if (ipmOrderInfo.SiFlagNew == "0")
{
sv.Cells[rowIndex, (int)InCols.WARNING].Note = "符合医保";
}
设置后单元格不显示备注
|