For any null/empty value this code does not work. Please help me.
string TotalQty = (Convert.ToInt32(_product.Where(x => x.Type.ToLower() == row.Cells[0].Value.ToString().ToLower()).Select(x => x.TotalQty).FirstOrDefault()) + Convert.ToInt32(row.Cells[3].Value.ToString())).ToString();
Ramesh PalanivelPosted Sep 17, 2017, 11:28 PM
Shovan SahaPosted Sep 18, 2017, 9:22 AM
Shovan SahaPosted Sep 17, 2017, 1:48 PM
Puneet KankarPosted Sep 17, 2017, 1:18 PM