Manohar Gova

Manohar Gova

  • 1.5k
  • 255
  • 38.6k

How to ignore case sensitive in LINQ

Jul 2 2015 1:31 AM
Hi ,,
 
this is my query
 
var checkuse= Users.Where(p => p.USERTYP.ToLower().Trim() == dr["Columnname"].ToString().ToLower().Trim()).ToList(); 
 
 
how to ignore case sensitive above case
 
 

Answers (1)