DataPagerFieldCollection.Add Method (DataPagerField)

 

Appends the specified DataPagerField object to the collection.

Namespace:   System.Web.UI.WebControls
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

member Add : 
        field:DataPagerField -> unit

Parameters

field
Type: System.Web.UI.WebControls.DataPagerField

The object to append to the collection.

The DataPagerField object is added to the end of the collection.

The following example shows how to use the Add method to add a NextPreviousPagerField object to a DataPager control.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.5
Return to top
Show: