G
Guest
Hi All,
I have a scenario as below.
I have a data row like
AcctNum CheckNum Amt Payee Date
9999999 125699 10370.25 ABCD...XYZ 04/24/06
Now I have to process this row basing on a condition.
if (<Condition>)
//Process The row
else
continue;
The complexity here is, <Condition> comes from a configuration file, like
length of payee > 40 (_dataRow["Payee"].ToString().Length > 40) and Amt >
50000.00 etc...
But this expression comes as a string which i have to evalute to true or
false.
This condition varies from bank to bank and will be maintained in a config
file.
Is there any way to achieve this? Or is there any different approach to
solve this?
Thanks in advance
I have a scenario as below.
I have a data row like
AcctNum CheckNum Amt Payee Date
9999999 125699 10370.25 ABCD...XYZ 04/24/06
Now I have to process this row basing on a condition.
if (<Condition>)
//Process The row
else
continue;
The complexity here is, <Condition> comes from a configuration file, like
length of payee > 40 (_dataRow["Payee"].ToString().Length > 40) and Amt >
50000.00 etc...
But this expression comes as a string which i have to evalute to true or
false.
This condition varies from bank to bank and will be maintained in a config
file.
Is there any way to achieve this? Or is there any different approach to
solve this?
Thanks in advance