title: Better way to use data set in C#
body: <p>We have created a custom dataset and populating it with some data.</p>
  
  <p>Before adding data, we are adding columns in the data set as follows</p>
  
  <pre><code>DataSet archiveDataset = new DataSet("Archive");
  DataTable dsTable = archiveDataset.Tables.Add("Data");
  dsTable.Columns.Add("Id", typeof(int));
  dsTable.Columns.Add("Name", typeof(string));
  dsTable.Columns.Add("LastOperationBy", typeof(int));
  dsTable.Columns.Add("Time", typeof(DateTime))
  </code></pre>
  
  <p>Once the Dataset is create, we are filling values as follows</p>
  
  <pre><code> DataRow dataRow = dsTable.NewRow();
   dataRow["Id"] = source.Id;
   dataRow["Name"] = source.Name;
   dataRow["LastOperationBy"] = source.LastOperationBy;
   dataRow["Time"] = source.LaunchTime;
  </code></pre>
  
  <p>Is there any better and managed way of doing this. can I make the code more easy to write using enum or anything else to reduce the efforts?</p>