6
Answers

Need 1 year before

Soumya Ps

Soumya Ps

6y
886
1
In my dropdown value i get the current year
 
ddlYear.Items.FindByValue(System.DateTime.Now.Year.ToString()).Selected = true;
 
but i want the dropdown shows 1 year back...that is now dropdown shows 2018.but i want to show it as 2017 how it possible? 
Answers (6)