System.Web.UI.WebControls.SelectedDatesCollection.SelectRange Method

Adds the specified range of dates to the System.Web.UI.WebControls.SelectedDatesCollection collection.

Syntax

public void SelectRange (DateTime fromDate, DateTime toDate)

Parameters

fromDate
A DateTime that specifies the initial date to add to the System.Web.UI.WebControls.SelectedDatesCollection.
toDate
A DateTime that specifies the end date to add to the System.Web.UI.WebControls.SelectedDatesCollection.

Remarks

Use this method to add the specified range of dates to the System.Web.UI.WebControls.SelectedDatesCollection collection.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0