I am getting output for single number when I use decimal value then the following code does not work. Please help me.
string Charge = (Convert.ToInt32(_product.Where(x => x.SoinikNo.ToLower() == row.Cells[2].Value.ToString().ToLower()).Select(x => x.Charge).FirstOrDefault()) + Convert.ToInt32(row.Cells[21].Value.ToString())).ToString();

Nilesh ShahRank #42 · 34.2K reputationPosted Sep 15, 2017, 4:18 AM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Sep 15, 2017, 5:40 AM EDT
Amit GuptaRank #190 · 12.8K reputationPosted Sep 15, 2017, 6:30 AM EDT
Ranjan Sikdar113 reputationPosted Sep 15, 2017, 11:32 AM EDT
Shovan SahaRank #4,546 · 338 reputationPosted Sep 15, 2017, 6:11 AM EDT