Ds have
AccGroupName : Accounts,Bank,Salary etc
LedgerName
Debit
Credit
showing the error : Invalid usage of aggregate function Sum() and Type: String.
showing the error : Invalid usage of aggregate function Sum() and Type: String.
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
mohammed shamsheerPosted Jul 29, 2015, 12:14 AM
Hesham KhedrPosted Jul 3, 2015, 12:07 AM
mohammed shamsheerPosted Nov 22, 2013, 6:57 AM
Sanjeeb LenkaPosted Nov 22, 2013, 5:54 AM
it may work
ds.Tables[0].Compute("Sum(Convert.ToInt32(Debit))", "AccGroupName='Accounts'");