|
-
Apr 6th, 2008, 03:14 PM
#1
Thread Starter
Addicted Member
-
Apr 6th, 2008, 03:20 PM
#2
Addicted Member
Re: [2005] Export DGV to Excel without Interop
Learn the excel file format, or export it to CSV!
-
Apr 6th, 2008, 03:40 PM
#3
Thread Starter
Addicted Member
Re: [2005] Export DGV to Excel without Interop
 Originally Posted by Lectere
Learn the excel file format, or export it to CSV!
Thanks Priest Lectere...
Better for you to not post if you don't have a good answer...
Please read my #1 post!
I'm still learning VB.NET
Sorry for my bad english
Thanks for your help
-
Apr 6th, 2008, 03:43 PM
#4
Re: [2005] Export DGV to Excel without Interop
The Excel file format is proprietary and closed source. Its a BIFF file format.
You can use either ADO.NET to write to a blank xls file or csv like mentioned which opens in excel.
There is a web solution for writting to a xls file from a datagrid. Might want to also search in the ASP.NET forum too.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Apr 6th, 2008, 04:14 PM
#5
Addicted Member
Re: [2005] Export DGV to Excel without Interop
No, you should read, CSV is clearly an option here, im out of this post, goodluck...
-
Apr 6th, 2008, 04:42 PM
#6
Re: [2005] Export DGV to Excel without Interop
I hope he was more meaning the excel format as that part is not really possible but he csv is is completely valid.
Plus, to get help on a topic one should always try to be nice to those trying to help.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|