title: DataSet.DataTable.DataRow (Single) to XML String
body: <p>I have strongly-typed datasets in the project that I am currently working on and I need to convert a DataRow object from the DataSet (only 1 DataTable in the DataSet) to an XML string.  I attempted the following with only utter failure:</p>
  
  <pre><code>string originalXmlString = string.Empty;
  
  DataSet ds = new DataSet();
  
  ds.Tables.Add(this.ObjectDataRow.Table);
  ds.Tables[0].ImportRow(this.ObjectDataRow);
  
  using (StringWriter sw = new StringWriter())
  {
      ds.Tables[0].WriteXml(sw);                         
      originalXmlString = sw.ToString();
  }
  
  req.OriginalDataRow = originalXmlString;
  </code></pre>
  
  <p>Any help would be greatly appreciated!</p>
  
  <p>Thanks,
  Keith</p>