NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

BaseDataListDesigner.GetDesignTimeDataSource (ICollection, Int32)

Returns sample data matching the schema of the selected data source.

[Visual Basic]
Overloads Protected Function GetDesignTimeDataSource( _
   ByVal selectedDataSource As ICollection, _
   ByVal minimumRows As Integer _
) As ICollection
[C#]
protected ICollection GetDesignTimeDataSource(
   ICollection selectedDataSource,
   int minimumRows
);
[C++]
protected: ICollection* GetDesignTimeDataSource(
   ICollection* selectedDataSource,
   int minimumRows
);
[JScript]
protected function GetDesignTimeDataSource(
   selectedDataSource : ICollection,
   minimumRows : int
) : ICollection;

Parameters

selectedDataSource
The selected data source to be used as a reference for the shape of the data.
minimumRows
The minimum rows of sample data the data source data should contain.

Return Value

An ICollection containing a live data source for use at design time.

See Also

BaseDataListDesigner Class | BaseDataListDesigner Members | System.Web.UI.Design.WebControls Namespace | BaseDataListDesigner.GetDesignTimeDataSource Overload List