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. Datatable to Excel

Datatable to Excel

Scheduled Pinned Locked Moved C#
question
3 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.
  • S Offline
    S Offline
    Sriharsha R
    wrote on last edited by
    #1

    We have got the implementation to get excel document from the datatable. But want to format the cells and rows that datatable in the excel document. How?:confused: Sriharsha R

    K 1 Reply Last reply
    0
    • S Sriharsha R

      We have got the implementation to get excel document from the datatable. But want to format the cells and rows that datatable in the excel document. How?:confused: Sriharsha R

      K Offline
      K Offline
      Kedar Potdar
      wrote on last edited by
      #2

      Hi Shrihari, You need to use Cell or Range object in Excel Object Model which you can do by creating automation clients for excel by adding reference of Excel Type liabrary to your project. Use the Liabrary to Create and modify the ExcelSheets according to your need. With warm regards, KEDAR

      S 1 Reply Last reply
      0
      • K Kedar Potdar

        Hi Shrihari, You need to use Cell or Range object in Excel Object Model which you can do by creating automation clients for excel by adding reference of Excel Type liabrary to your project. Use the Liabrary to Create and modify the ExcelSheets according to your need. With warm regards, KEDAR

        S Offline
        S Offline
        Sriharsha R
        wrote on last edited by
        #3

        Thank you very much.. I got the perfect idea. But we are using Excel 2000 and hence we were not able to use that code. Thank u.... Regards Sriharsha R

        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