I want to add choices programmatically to an SPFieldChoice so that its select box has values with Current Year - 5 to Current Year + 5.
What is the best way to do this?
Ex:
2005 2006 2007 ... 2010 -- current year ... 2013 2014 2015
|
I want to add choices programmatically to an SPFieldChoice so that its select box has values with Current Year - 5 to Current Year + 5. What is the best way to do this? Ex: 2005 2006 2007 ... 2010 -- current year ... 2013 2014 2015 |
||||
|
|