public void GetYearList(DropDownList ddlYearList)
{
int i = DateTime.Now.Year;
for (i = i - 1; i <= DateTime.Now.Year + 3; i++)
ddlYearList.Items.Add(Convert.ToString(i));
}
Real Time Web Services and Code Examples/Resolutions to Issues with ASP.NET, C#, .NET Framework, Visual Studio .NET, NopCommerce, SQL Server, DashCommerce, BlogEngine, GallaryserverPro,ASP.NET MVC, ENTITY Framework, ADO.NET
No comments:
Post a Comment