There are two formats the user can enter into the gridview
first format: 2012-2010,2012-2007 etc.,
I want to convert it as (y+1)-(y-1).(y+1)-(y-4) y will be the current year.
second format 2009,2008,2007,2006etc., I want to convert it as (y-2),(y-3),(y-4)and (y-5) etc
Please let me know.