Conditional filter in CrossDataband using expression.
Posted: Mon Mar 03, 2014 5:41 am
Hi,
How can I apply conditional filter in crossdataband by using expression. I want to apply something like
if(Feature.Count%2==0)
{
Line==1 || Line== (Features.Count/(int.Parse(Quote.ChildQuoteExists)+1)-(Features.Count/(int.Parse(Quote.ChildQuoteExists)+1))/2)+1
}
else
{
Line==1 || Line== ((Features.Count)/(int.Parse(Quote.ChildQuoteExists)+1)-(Features.Count/(int.Parse(Quote.ChildQuoteExists)+1))/2)+1)+1
}
But when i do this it gives me error. how can I solve this kind of case.
How can I apply conditional filter in crossdataband by using expression. I want to apply something like
if(Feature.Count%2==0)
{
Line==1 || Line== (Features.Count/(int.Parse(Quote.ChildQuoteExists)+1)-(Features.Count/(int.Parse(Quote.ChildQuoteExists)+1))/2)+1
}
else
{
Line==1 || Line== ((Features.Count)/(int.Parse(Quote.ChildQuoteExists)+1)-(Features.Count/(int.Parse(Quote.ChildQuoteExists)+1))/2)+1)+1
}
But when i do this it gives me error. how can I solve this kind of case.