Hari B

Hari B

  • NA
  • 139
  • 68.3k

Search problem

May 25 2015 7:41 AM

Here I search Manufacturer

My problem is Manufacturer is Tatavista. But in my database Tatavista and tatvista both are present.

if i search with tatavista i get both results.

 if search with tatavista i need to get tatavista only.

  if search with Tatavista i need to get Tatavista only 

This is my code:

viewModel = CarDb.cars.Where(g => g.Manufacturer == Manufacturer || string.IsNullOrEmpty(Manufacturer.Trim().tolower().toupper()))


Answers (1)