title: How to read resources csv file
body: <p>I used to use csv file in my application</p>
  <p>here is the original code</p>
  <pre><code>        string csvFile = Directory.GetCurrentDirectory() + @&quot;\data\&quot; + Scheme + &quot;.csv&quot;
          DataTable dt = ReadCSV(csvFile);
          dgv.DataSource = dt;
  </code></pre>
  <p>now I want to put csv file as embedded resource</p>
  <p>I tried this. but It does not work</p>
  <pre><code>        string csvFile = System.Resources.MyFile; //This is error
          DataTable dt = ReadCSV(csvFile);
          dgv.DataSource = dt;
  </code></pre>
  <p>I wonder how to get the code running correctly?</p>