title: Split C# dataset into multiple datasets
body: <p>I have an existing application that converts a text file to a DataSet which than gets passed to another method for processing.  Up until now, the text files have always been for 1 Location (internal client reference).</p>
  
  <p>The client now has a second file format that contains multiple Locations.  I'd like to take the returned dataset from this new file and convert it to an Array of Datasets based on the Location field in the file.  This would allow us to utilize the existing method that accepts a Dataset for a single Location.</p>
  
  <p>Is there a built-in method in .Net that allows me to split a DataSet into multiple datasets or would I have to create this logic myself?</p>