• ASP.Net Gridview to Excel

    It’s easy to do this. Or at least, you’d think it is. But when you allow the columns to be generated automatically, you can run into a nasty error “The controls collection cannot be modified because the control contains code blocks <% ... %>”