Results 1 to 2 of 2

Thread: c# 2005 outputting to excel...

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Location
    England
    Posts
    283

    Question c# 2005 outputting to excel...

    I am using c# 2005 what is the easiest way to output a grid to excel??

    Cheers

    GTJ

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

    Re: c# 2005 outputting to excel...

    The easiest way to output to an existing XLS file is to use ADO.NET. See www.connectionstrings.com for more details of connection string and SQL syntax. The alternative is Office Automation, which requires Excel to be installed. See MSDN for more details, or see the Office Development forum.
    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