Results 1 to 2 of 2

Thread: Datagrid to Excel

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    1

    Datagrid to Excel

    I want to export the 3 different grid to different WorkSheet in the same Excel sheet.(using C#)
    Iam able to do the same in a single sheet. But not sure how to do for different worksheets. Any help is appreciated.

    Thanks,Shobana Shetty

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Datagrid to Excel

    If you can do it for one sheet you can do it for any number of sheets. You must be getting a reference to the worksheet to do it for one so simply get a reference to a different worksheet. If you only have one worksheet then add another.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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