Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. export dataset to execl 2000

export dataset to execl 2000

Scheduled Pinned Locked Moved C#
tutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    Wilson Wu
    wrote on last edited by
    #1

    Hi, I searched the web. I can find how to export data for Excel 2002 or later. But how to do for Excel 2000 ? Thanks Wilson

    H 1 Reply Last reply
    0
    • W Wilson Wu

      Hi, I searched the web. I can find how to export data for Excel 2002 or later. But how to do for Excel 2000 ? Thanks Wilson

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      Instead of trying to export to Excel, just export to a CSV (comma-separated values, or comma-delimited text file). Excel and other applications can open these with no problem. Just be sure to quote your strings that contain commas in them, which isn't hard and there are articles to assist you. To note, though, the typelib for Excel hasn't changed much since Excel 97. The base functionality is the same - as all good COM libs should. Chances are whatever works for Excel 2002 will work for Excel 2000, but you should use the Excel 2000 typelib for Excel 2000 and later since the class IDs and interface IDs (GUIDs) should be the same throughout new versions (new interfaces are added and the old classes implement those, but the old interfaces are typically still implemented). Please note that this is usually the case, but things do get deprecated, though the functionality you require is pretty basic so you should be fine.

      Microsoft MVP, Visual C# My Articles

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups