linq compare int with string
products = products.Where(p => SqlFunctions.StringConvert((double)p.ProductId).Trim() == searchString);
Achievement provides the only real pleasure in life
products = products.Where(p => SqlFunctions.StringConvert((double)p.ProductId).Trim() == searchString);
Posted by SF at 12:10 am
No comments:
Post a Comment