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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Writing if else like expression

Thread ID:

Created:

Updated:

Platform:

Replies:

71040 Jan 12,2008 10:49 AM UTC Jan 14,2008 12:06 AM UTC WinForms 3
loading
Tags: GridControl
John Ruiz
Asked On January 12, 2008 10:49 AM UTC

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 01:25 PM UTC

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 01:41 PM UTC


>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 14, 2008 12:06 AM UTC

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.

Warning Icon 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.Close Icon

;