Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

How can I get the data falling between two selected strings?

$
0
0

Hi

I have data e.g. 000.DGDH.34H, 222.JJ8D ... 999.YDH77, A.383JD, B.HDJ738, D.J8829 ... Z.78WY8. I have to select the data that falls between the two strings. If the selected two strings are 000 and 777, it should return the data from 000 to 777. 

If the selected two strings are 000 and 777, it should return the data from 000 to 777. 

If the selected two strings are A and S, it should return the data between A and S.

How can I do that in ASP.Net MVC4. 


Viewing all articles
Browse latest Browse all 1698

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>