CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2009
    Posts
    1

    How to save data from datagrid to excel in vb.net?

    Hello everyone! Please bare with me because I'm new to vb.net .I do have problem, I cannot save data from datagrid to excel. I use inputbox so user can input data to datagrid. Then the user can click the button to save it to excel. Can someone please show me some code on how to create that? Thanks!

  2. #2
    Join Date
    Sep 2007
    Posts
    82

    Re: How to save data from datagrid to excel in vb.net?

    It really isn't that hard to create data in excel using .NET technologies. You need to take a look at the excel interop classes. I am sure MSDN and google has more than enough information to get this done.

    http://msdn.microsoft.com/en-us/libr...86(VS.80).aspx

  3. #3
    Join Date
    Jan 2009
    Posts
    36

    Re: How to save data from datagrid to excel in vb.net?

    Also check out the Excel Automation Tasks how-to links on MSDN.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured