Mukesh Kumar Tiwari

Mukesh Kumar Tiwari

  • NA
  • 980
  • 251.6k

How to Match only four Character of a field in linq????

Jan 22 2014 12:44 AM
Hey frnds..

2014000000
2014000001
2014000002
2014002013

2013000001
2013000002
2013002014
2013000004


from the given word i want to match only four char from starting with like query in linq.
means i want to select those record which start from 2014 or 2013 or 2015.

i don't get idea that how to write the query for this in linq...so please help me..

Thanks 

Answers (3)