Dump() To Excel? |
![]() ![]() |
Dump() To Excel? |
May 6 2009, 12:40 PM
Post
#1
|
|
|
|
I often find myself trying to copy/paste into excel but the HTML output from Dumping is messy. Is there a way to get a more Excel-friendly output quickly? I know I can write using LINQtoCSV or similar but thats more work and has zero formatting (no column widths or data types).
Thanks! |
|
|
|
May 6 2009, 05:50 PM
Post
#2
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 215 Joined: 15-February 08 From: Perth, Australia Member No.: 90 |
Thanks for the suggestion. I'll look into this in the next update. Maybe a "Copy Special" option that excluded formatting might be the way to go.
Joe This post has been edited by JoeAlbahari: May 6 2009, 05:50 PM |
|
|
|
May 12 2009, 04:46 AM
Post
#3
|
|
|
|
That would be a really useful addition for me. I do copy and paste data (with headers option) from the results pane in SQL Server Management Studio into Excel
Regards |
|
|
|
Jul 3 2009, 04:27 AM
Post
#4
|
|
|
|
That would be a really useful addition for me. I do copy and paste data (with headers option) from the results pane in SQL Server Management Studio into Excel Regards I too would get a ton of use from this capability. I know of at least 3 ways it could be written: interop(worst), odbc into excel(decent) ,spreadsheet ML (rumored best) This post has been edited by MaslowJax: Jul 3 2009, 04:28 AM |
|
|
|
Sep 2 2009, 11:45 AM
Post
#5
|
|
|
|
What about hosting LinqPad as an Office Add-In?
|
|
|
|
Nov 3 2009, 11:45 AM
Post
#6
|
|
|
|
I often find myself trying to copy/paste into excel but the HTML output from Dumping is messy. Is there a way to get a more Excel-friendly output quickly? I know I can write using LINQtoCSV or similar but thats more work and has zero formatting (no column widths or data types). Thanks! if you don't care about the formatting, a DumpCSV extension method against an IQueryable can be found at: http://www.aneyfamily.com/terryandann/post...Pad-Heaven.aspx |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 22nd November 2009 - 04:58 PM |