fpSpread1.ShowRowErrors = true;
fpSpread1.Sheets[0].Rows[1].ErrorText = "RowError";
fpSpread1.Sheets[0].Rows[1].Locked = true;
FpSpread1.ShowRowErrors = True
FpSpread1.Sheets(0).Rows(1).ErrorText = "RowError"
FpSpread1.Sheets(0).Rows(1).Locked = True