We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Writing if else like expression

Thread ID:

Created:

Updated:

Platform:

Replies:

71040 Jan 12,2008 05:49 AM Jan 13,2008 07:06 PM Windows Forms 3
loading
Tags: GridControl
John Ruiz
Asked On January 12, 2008 05:49 AM

Please suggest me if it's possible to write an expression field based on a conditional column value something like:

in short how can i write if else like expression that achieve the below?

Syncfusion.Grouping.ExpressionFieldDescriptor exp1;

if (SomeColumn.Value < 10 )
{
exp1 = new Syncfusion.Grouping.ExpressionFieldDescriptor("Winning %", "expression1", "System.Double");
}
else
{
exp1 = new Syncfusion.Grouping.ExpressionFieldDescriptor("Winning %", "expressoin2", "System.Double");
}





Jeba S [Syncfusion]
Replied On January 13, 2008 08:25 AM

Hi John,

Please refer the below forum thread for details:

http://www.syncfusion.com/support/forums/message.aspx?MessageID=63854

Kindly let us know if you need any further assistance.

Best Regards,
Jeba.


John Ruiz
Replied On January 13, 2008 08:41 AM


>Hi John,

Please refer the below forum thread for details:

http://www.syncfusion.com/support/forums/message.aspx?MessageID=63854

Kindly let us know if you need any further assistance.

Best Regards,
Jeba.




Thanks a bunch... glad to see I am not the only one working on sunday :)


Jeba S [Syncfusion]
Replied On January 13, 2008 07:06 PM

Hi John,

Thank you for your update.

Best Regards,
Jeba.




CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;