The methods of System.Data.DataSet are listed below. For a list of all members, see the DataSet Members list.
See Also: Inherited members from System.ComponentModel.MarshalByValueComponent
AcceptChanges() Commits all the changes made to this DataSet since it was loaded or since the last time AcceptChanges was called.BeginInit() This method is not meant for use in the user's program.Clear() Removes all the data from the DataSet by deleting all the rows from the table collection.Clone() : DataSet Makes a copy of the DataSet structure (schemas, relations and constraints) and returns it as a new instance of DataSet. The data is not copied.Copy() : DataSet Copies both the structure (schemas, relations and constraints) of the current object.CreateDataReader() : DataTableReader Documentation for this section has not yet been entered.CreateDataReader(params DataTable[]) : DataTableReader Documentation for this section has not yet been entered.EndInit() This method is not meant for use in the user's program.GetChanges() : DataSet Gets a DataSet with the changes since the last call to AcceptChanges or since the object was loaded.GetChanges(DataRowState) : DataSet Gets a DataSet with the changes since the last call to AcceptChanges or since the object was loaded. The data is filtered by System.Data.DataRowState. staticGetDataSetSchema(System.Xml.Schema.XmlSchemaSet) : System.Xml.Schema.XmlSchemaComplexType Documentation for this section has not yet been entered.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) Documentation for this section has not yet been entered.GetXml() : string Returns the data contained in the DataSet formatted as XML.GetXmlSchema() : string Returns the XSD representation fore the XML schema of the data contained in the current DataSet.HasChanges() : bool Returns a value that indicates whether the current DataSet has any changes in it (that is any New, Deleted or Modified rows).HasChanges(DataRowState) : bool Returns a value that indicates whether the current DataSet has any changes in it (that is any New, Deleted or Modified rows), filtered by System.Data.DataRowStateInferXmlSchema(System.IO.Stream, string[]) Applies the specified XML schema from the specified System.IO.Stream to the current DataSetInferXmlSchema(System.IO.TextReader, string[]) Applies the specified XML schema from the specified System.IO.TextReader to the current DataSetInferXmlSchema(string, string[]) Applies the specified XML schema from the specified file to the current DataSetInferXmlSchema(System.Xml.XmlReader, string[]) Applies the specified XML schema from the specified System.Xml.XmlReader to the current DataSetLoad(IDataReader, LoadOption, params DataTable[]) Documentation for this section has not yet been entered.Load(IDataReader, LoadOption, params string[]) Documentation for this section has not yet been entered.Load(IDataReader, LoadOption, FillErrorEventHandler, params DataTable[]) Documentation for this section has not yet been entered.Merge(DataRow[]) Merges an array of System.Data.DataRow objects into the current DataSet.Merge(DataSet) Merges a specified DataSet and its schema into the current DataSet.Merge(DataTable) Merges a specified System.Data.DataTable and its schema into the current DataSet.Merge(DataSet, bool) Merges a specified DataSet and its schema into the current DataSet, preserving or discarding any changes in this DataSet according to the given argument.Merge(DataRow[], bool, MissingSchemaAction) Merges an array of System.Data.DataRow objects into the current DataSet, preserving or discarding changes in the DataSet and handling an incompatible schema according to the given arguments.Merge(DataSet, bool, MissingSchemaAction) Merges a specified DataSet and its schema with the current DataSet, preserving or discarding changes in the current DataSet and handling an incompatible schema according to the given arguments.Merge(DataTable, bool, MissingSchemaAction) Merges a specified System.Data.DataTable and its schema into the current DataSet, preserving or discarding changes in the DataSet and handling an incompatible schema according to the given arguments.ReadXml(System.IO.Stream) : XmlReadMode Reads the XML schema and data from the specified stream.ReadXml(System.IO.TextReader) : XmlReadMode Reads the XML data from the specified reader object.ReadXml(string) : XmlReadMode Reads the XML from the specified file.ReadXml(System.Xml.XmlReader) : XmlReadMode Reads the XML data from the specified XML reader object.ReadXml(System.IO.Stream, XmlReadMode) : XmlReadMode Reads the XML schema and data from the specified stream using the indicated read mode.ReadXml(System.IO.TextReader, XmlReadMode) : XmlReadMode Reads the XML data from the specified reader object using the indicated read mode.ReadXml(string, XmlReadMode) : XmlReadMode Reads the XML from the specified file using the indicated read mode.ReadXml(System.Xml.XmlReader, XmlReadMode) : XmlReadMode Reads the XML data from the specified XML reader object using the indicated read mode.ReadXmlSchema(System.IO.Stream) Reads the XML schema from the specified stream.ReadXmlSchema(System.IO.TextReader) Reads the schema from the specified text reader object.ReadXmlSchema(string) Reads the schema from the specified file.ReadXmlSchema(System.Xml.XmlReader) Reads the schema from the specified XML reader object.RejectChanges() Undoes the changes made to the DataSet since it was created or since the last time DataSet.AcceptChanges was called.Reset() Restores the original state of the DataSet object.WriteXml(System.IO.Stream) Writes the current DataSet data to the specified stream.WriteXml(System.IO.TextWriter) Writes the data to the specified text writer object.WriteXml(string) Writes the data to the specified file.WriteXml(System.Xml.XmlWriter) Writes the data to the specified XML writer object.WriteXml(System.IO.Stream, XmlWriteMode) Writes the current DataSet data to the specified stream using the indicated write mode.WriteXml(System.IO.TextWriter, XmlWriteMode) Writes the data to the specified text writer object using the indicated write mode.WriteXml(string, XmlWriteMode) Writes the data to the specified file using the indicated write mode.WriteXml(System.Xml.XmlWriter, XmlWriteMode) Writes the data to the specified XML writer object using the indicated write mode.WriteXmlSchema(System.IO.Stream) Write the schema to the specified stream object.WriteXmlSchema(System.IO.TextWriter) Write the schema to the specified text writer object.WriteXmlSchema(string) Write the schema to the specified file.WriteXmlSchema(System.Xml.XmlWriter) Write the schema to the specified XML writer object.