Hi i have the following methods which populate 3 dropdownlists, i am having problems configuring it in order for it to return the correct amount of days, for instance the months which have 28 days such as february or months which have 30 days. What would i need to do, here is my code;
for (int day = 1; day startYear - 100; year --){
ListItem li = new ListItem();
li.Text = year.ToString();
li.Value = year.ToString();
ddlYear.Items.Add(li);
} ...
Go to the complete details ...