Below is my code which binds 1 to 90 days as Day 1,Day 2,Day 3 so on till Day 90 in my drop down.Now for 1 t0 35 days i need to display Day 1 AMT,Day 2 AMT so on till Day 35 AMT and again from Day 36 i need to display Day 36,Day 37,Day 38 so on till Day 90.How can i do this
protected void BindDays()
{
ddlDayWise.Items.Insert(0, new ListItem("--Select--", "--Select--"));
for (int i = 1; i <= 90; i++)
{
ddlDayWise.Items.Insert(i,new ListItem("Day"+i,i.ToString()));
}
}