次の方法で共有


BaseDataListDesigner.GetDesignTimeDataSource メソッド (Int32, Boolean)

選択したデータ ソースのスキーマに一致する一連のサンプル データを取得します。

Overloads Protected Function GetDesignTimeDataSource( _
   ByVal minimumRows As Integer, _   <Out()> ByRef dummyDataSource As Boolean _) As IEnumerable
[C#]
protected IEnumerable GetDesignTimeDataSource(intminimumRows,   out booldummyDataSource);
[C++]
protected: IEnumerable* GetDesignTimeDataSource(intminimumRows,   [   Out] bool* dummyDataSource);
[JScript]
protected function GetDesignTimeDataSource(
   minimumRows : int,dummyDataSource : Boolean) : IEnumerable;

パラメータ

  • minimumRows
    データ ソースが格納するサンプル データの行の最少数。
  • dummyDataSource
    返されたデータ ソースにダミー データが格納されている場合は true 。返されたデータ ソースに実際のデータ ソースからのデータが格納されている場合は false

戻り値

デザイン時に使用するライブ データ ソース。

必要条件

プラットフォーム: Windows 2000, Windows XP Professional, Windows Server 2003 ファミリ

.NET Framework セキュリティ:

参照

BaseDataListDesigner クラス | BaseDataListDesigner メンバ | System.Web.UI.Design.WebControls 名前空間 | BaseDataListDesigner.GetDesignTimeDataSource オーバーロードの一覧