title: For Each statement for DayOfWeek Enum
body: <p>I have two DateTime values called <code>StartDate</code> and <code>EndDate</code>. by default they only span the period of a week, however, the user can expand them farther. </p>
  
  <p>I'm trying to write a HTML table that will insert rows foreach day in that span of time. </p>
  
  <p>For example:</p>
  
  <pre><code>foreach DayOfWeek in (StartDate thru EndDate)&lt;br/&gt;
  OUTPUT
   &lt;tr&gt;
    &lt;th&gt;[DAYOFWEEK]&lt;/th&gt;
   &lt;/tr&gt;
  </code></pre>