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!

DataSetCommand.FillDataSet

Changes the data in the DataSet to match the data in the data source.

[Visual Basic]
Overridable Public Function FillDataSet( _
   ByVal dataSet As DataSet _
) As Integer
[C#]
public virtual int FillDataSet(
   DataSet dataSet
);
[C++]
public: virtual int FillDataSet(
   DataSet* dataSet
);
[JScript]
public function FillDataSet(
   dataSet : DataSet
) : int;

Parameters

dataSet
The DataSet to update with data and schema from the data source.

Remarks

Fills the DataSet with both data and the schema.

TableMappings are required to be mapped for this method to operate. The default source table is named "Table".

Notes to Inheritors: When overriding FillDataSet in a derived class, be sure to call the base class's FillDataSet method.

See Also

DataSetCommand Class | DataSetCommand Members | System.Data.Internal Namespace