DataSet function

Creates or updates a DataSet