Connectionstring
Posted: Thu May 07, 2009 5:30 pm
Hi,
Here you are.
In the BeforePrintEvent of the DataBand (or any other container) in which text components have been placed, you can write something like this:
Thank you.
Here you are.
In the BeforePrintEvent of the DataBand (or any other container) in which text components have been placed, you can write something like this:
Code: Select all
if (MyDataSource.Mycolumn == "MyValue")MyStiText.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Red);
else MyStiText.Brush = new Stimulsoft.Base.Drawing.StiSolidBrush(System.Drawing.Color.Green);