How to replace the text from data

[/indent]Hello everyone,

I want to change the texts coming from data(blue, green, yellow, black). When the using text these data appears. I want to replace them (dark blue, light green, yellowish, gray). I find in fastreport.net manuel this

private void Text2_BeforePrint(object sender, EventArgs e)
{
if (((Decimal)Report.GetColumnValue("Products.UnitPrice")) > 20)
Text2.TextColor = Color.Red;
}

and change

private void Text2_BeforePrint(object sender, EventArgs e)
{
if (((string)Report.GetColumnValue("Colors.desire")) = blue)
Text11 = dark blue;
}

but has error,

anyone can give me a sample how to do this please

best regards

Comments

  • edited 7:27PM
    Can anyone show me the way, I'm working for two days and I can't find any solution, I need this urgent, please help me It must be simple but I have poor knowlodge and sorry for my poor english

    I'm looking forward to your reply

    Thanks alot
  • edited 7:27PM
    Any solution, I'm waiting your replies

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.