var sumObject = dataGridView1.Rows.Cast()
.Sum(row => row.Cells["AmountBDT"].Value.ToString(), "SuspenceAccount = Placid Express");
Here two column : AmountBDT & SuspenceAccount. Placid Express is one of the item of SuspenceAccount.
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.
Ashish VishwakarmaPosted Apr 25, 2017, 11:30 PM