asp.net
can any one say a project for calender using loop statements
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Prateek SinglaPosted Aug 17, 2015, 7:07 AM
Upendra Pratap ShahiPosted Aug 5, 2015, 6:50 AM
<asp:DropDownList ID="ddlYear" runat="server">asp:DropDownList>
protected void BindYear()
{
var al = new ArrayList();
al.Add("-Select Year-");
for (var i = 1900; i <= 2050; i++)
{
al.Add(i);
}
ddlYear.DataSource = al;
ddlYear.DataBind();
}
Rajeesh MenothPosted Aug 5, 2015, 6:18 AM