var assignresult = (from i in _Objcontext.DistributorProductMappings
where i.ProductId == items.ProductID && i.DistributorId == items.DId && i.UpdatedDate == items.UpdatedDate
select (int.Parse(i.Purchases) + int.Parse(i.StockTakeback)).ToString()
).FirstOrDefault() ?? "0";
this statement not working convertions fails