title: Performance difference between gridview data binding vs looping in ASP.NET
body: <p>How much difference will there be if I bind data to a gridview in comparison to a loop through the data and build out the Html? </p>
  
  <p>I am currently using an html table in the ItemTemplate of a gridview and have <code>&lt;%#Eval("ID")%&gt;</code> in that table to bind the data from iQueryable</p>
  
  <p>What if i loop through the IQueryable and build out html from the code behind instead. How much is the performance difference if someone has done that comparison or has good knowledge of which should be the way to go ?</p>
  
  <p>Thanks. </p>
  
  <p>I am using Asp.net /C#</p>