troubleshooting Question

Exporting multiple datagrids to different worksheets in an Excel workbook

Avatar of gderoeck
gderoeck asked on
Visual Basic.NET
1 Comment1 Solution226 ViewsLast Modified:
I'm trying to create a project in which I have 5 different datagrids (each datagrid has data bound by a stored proc) and what I need to do is when a button is pressed, is takes each datagrid and write to an Excel worksheet (while renaming the worksheet) - in the end with my 5 datagrids, I should have an Excel workbook with 5 worksheets. I'm trying to figure out a way to automate this instead of just exporting 1 datagrid to an excel file, then copying and pasting into 1 excel workbook.
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 1 Comment.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros