how to reverse the order of words in query or c#

Posted by Ranjana on Stack Overflow See other posts from Stack Overflow or by Ranjana
Published on 2010-06-07T10:31:17Z Indexed on 2010/06/07 10:42 UTC
Read the original article Hit count: 194

Filed under:
|
|
|
|

i have stored in the database as

location

India,Tamilnadu,Chennai,Annanagar

while i bind in the grid view it ll be displaying as 'India,Tamilnadu,Chennai,Annanagar' this format.

but i need to be displayed as 'Annanagar,Chennai,Tamilnadu,India' in this format. how to perform this reverse order in query or in c#

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET