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. Getting Report from dataBase and showing it in Word.

Getting Report from dataBase and showing it in Word.

Scheduled Pinned Locked Moved C#
databasehelp
3 Posts 3 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
    Said Ali Jalali
    wrote on last edited by
    #1

    Hi every one. I wana make a report from dataBase,Instead of using and showing it in crystalReport i want it in Word. Can u help me please.Thank you .

    CanI

    D M 2 Replies Last reply
    0
    • S Said Ali Jalali

      Hi every one. I wana make a report from dataBase,Instead of using and showing it in crystalReport i want it in Word. Can u help me please.Thank you .

      CanI

      D Offline
      D Offline
      dan sh
      wrote on last edited by
      #2

      You can get the data from the database using ADO.Net and then format it as per your need. To write the same to a word file, you can use interop.

      50-50-90 rule: Anytime I have a 50-50 chance of getting something right, there's a 90% probability I'll get it wrong...!!

      1 Reply Last reply
      0
      • S Said Ali Jalali

        Hi every one. I wana make a report from dataBase,Instead of using and showing it in crystalReport i want it in Word. Can u help me please.Thank you .

        CanI

        M Offline
        M Offline
        minnie mouse
        wrote on last edited by
        #3

        Have a look at an open source project called Migradoc, this makes RTF files from data, without word installed, you can export to word from the crystal viewer or use interop but the MS Word product must be installed. All the word versions will open RTF and this should be sufficient for a report

        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