Asp.net
can any one say a project for calender using loop statements
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajeesh MenothRank #118 · 18.4K reputationPosted Aug 5, 2015, 2:18 AM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Aug 5, 2015, 2:50 AM EDT
<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();
}
Prateek Singla43 reputationPosted Aug 17, 2015, 3:07 AM EDT