private void Form1_Load(object sender, EventArgs e)
{
fpSpread1.Sheets[0].Cells[0, 0].Value = 3;
fpSpread1.Sheets[0].Cells[1, 0].Value = 2;
fpSpread1.Sheets[0].Cells[1, 1].Value = 10;
fpSpread1.Sheets[0].Cells[0, 2].Value = 1;
}
private void button1_Click(object sender, EventArgs e)
{
//Error and No Error CF
FarPoint.Win.Spread.ErrorConditionalFormattingRule error = new FarPoint.Win.Spread.ErrorConditionalFormattingRule(true);
error.IsError = true;
error.BackColor = Color.Yellow;
fpSpread1.ActiveSheet.SetConditionalFormatting(1, 1, error);
}