Export GridView to Excel(mattberseth.com)

submitted by mbersethmberseth(1385) 4 years, 8 months ago

I thought this sounded like a pretty standard requirement so I figured there would be a nice snippet on msdn or in an msdn publication describing the official Microsoft solution. I couldn’t find that, or any other approach that I was happy with. I ran across a few sites that looked promising, but didn’t quite meet my requirements – I had to either override a page level method and do nothing or else turn off event validation. It also generally appeared that the people using these solutions were also running into a variety of issues with grids that allow sorting and paging - all of the grids I am working with allow both.

3 comments |category: |Views: 1204

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by tinawilson84tinawilson84(1) 3 years, 11 months ago +1

This is a great article and it all works flawlessly. There is nothing I hate more than downloading code that just doesn't work! GREAT JOB! :D

Reply

posted by lblanc01lblanc01(1) 2 years, 2 months ago +1

Awesome control and site too.

Reply

posted by johnbournejohnbourne(1) 1 year, 9 months ago 0

I was tring to use Excel interop initially but got nowhere. This works great. Many thanks.:)

Reply

information Login or create an account to comment on this story