title: Asp.net Div tags in a for loop
body: <p>Is it possible to include div tags within a for loop in an asp.net page and assign its id dynamically so that I can refer a particular div tag with the assigned id in a jquery script. 
  I want to do something like below.</p>
  
  <pre><code>@for(var i = 0; i &lt; projectCountGlobal; i++) 
  {
      &lt;div id="i" &gt; // id should be assigned dynamically
          &lt;div id="ProjectImage"&gt;
  
          &lt;/div&gt;
  
          &lt;div id="ProjectName"&gt;
  
          &lt;/div&gt;
  
  
          &lt;div id="Experts"&gt;
             &lt;div id="ExpertImage"&gt;
  
             &lt;/div&gt;
             &lt;div id="ExpertName"&gt;
  
             &lt;/div&gt;
          &lt;/div&gt;
       &lt;/div&gt;
  }
  </code></pre>