[This is preliminary documentation and is subject to change.]

Populates the year in the drop down list

Namespace:  OfficeClip.Utils
Assembly:  OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0

Syntax

C#
public void PopulateYear(
	DropDownList dr,
	int dtSpan
)
Visual Basic (Declaration)
Public Sub PopulateYear ( _
	dr As DropDownList, _
	dtSpan As Integer _
)
Visual C++
public:
void PopulateYear(
	DropDownList^ dr, 
	int dtSpan
)

Parameters

dr
Type: System.Web.UI.WebControls..::.DropDownList
The drop down list where the year needs to be populated
dtSpan
Type: System..::.Int32
The span of year that needs to be populated in the drop down list. If the current year is 2002 and this parameter is 2, the years to be populated are 2001, 2002 and 2003.

See Also