Sorting the data returned by a database

Posted by Rishabh Ohri on Stack Overflow See other posts from Stack Overflow or by Rishabh Ohri
Published on 2010-03-16T11:48:12Z Indexed on 2010/03/16 12:36 UTC
Read the original article Hit count: 318

Filed under:
|
|

hi all,

In our project we have a requirement that when a set of records are returned by the database the records should be sorted with respect to the TITLE field in the record. The records will have to be sorted alphabetically but if the title of a record has a number in it then it should come after the records whose title only consists of alphabets.

Details: we are using SQL Server , and c#. The data from the database comes to an Entity class whic forwards the data to other layers.

So, What will be the possible and effective solution for this requirement.

© Stack Overflow or respective owner

Related posts about sql-server-2005

Related posts about c#