Hari B

Hari B

  • NA
  • 139
  • 68k

Search Problem

May 25 2015 2:31 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 (3)