[This is preliminary documentation and is subject to change.]
Populates the month drop down list by providing the first row. The first row
is usually used to provide instructions (i.e. to select other rows etc.).
The value of the first row is always -1 in the drop down list.
Namespace:
OfficeClip.UtilsAssembly: OfficeClip.Utils (in OfficeClip.Utils)
Version: 8.1.1.0
Syntax
C# |
---|
public void PopulateMonth( DropDownList dr, string firstRow, bool isShort ) |
Visual Basic (Declaration) |
---|
Public Sub PopulateMonth ( _ dr As DropDownList, _ firstRow As String, _ isShort As Boolean _ ) |
Visual C++ |
---|
public: void PopulateMonth( DropDownList^ dr, String^ firstRow, bool isShort ) |
Parameters
- dr
- Type: System.Web.UI.WebControls..::.DropDownList
The drop down list to be populated.
- firstRow
- Type: System..::.String
The text on the first row.
- isShort
- Type: System..::.Boolean
if true populates the short months (Jan, Feb etc.), if false populates the long drop down months (January, February etc.).