group by - Datatable compute c# filter string -


i have problem code:

_dtreturn.rows[i][_calculatedfield.outputcolumnname] =      _dtsource.compute(_calculatedfield.enmfunction.tostring() +      "(" + _calculatedfield.columnname + ")", _filterstring); 

the string generate seguent:

_dtreturn.rows[i][_calculatedfield.outputcolumnname] =      _dtsource.compute("sum(affidate)","lottoimportazione = 44438 , regione = 'sicilia'"); 

the code generate exception :

from google translate: "an unhandled exception of type ' system.data.dataexception ' in system.data.dll

additional information : invalid use sum () function , type of aggregation : boolean ."

eccezione non gestita di tipo 'system.data.dataexception' in system.data.dll

ulteriori informazioni: utilizzo non valido della funzione sum() e del tipo di aggregazione: boolean.

can me?


Comments

Popular posts from this blog

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -