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. XML / XSL
  4. how to attach database object to textwriter

how to attach database object to textwriter

Scheduled Pinned Locked Moved XML / XSL
xmldatabasehelptutorialquestion
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.
  • K Offline
    K Offline
    ksrs
    wrote on last edited by
    #1

    i have a database object which retrieves all the data. and i have the xml file(excel format) in textwriter mode. how can i attach dtaset to xml file and i want to transform that using xsl file can any body know this pls help me thanks satya

    B 1 Reply Last reply
    0
    • K ksrs

      i have a database object which retrieves all the data. and i have the xml file(excel format) in textwriter mode. how can i attach dtaset to xml file and i want to transform that using xsl file can any body know this pls help me thanks satya

      B Offline
      B Offline
      Brendan Vogt
      wrote on last edited by
      #2

      Hi, This is not a solution to your question, I have a similar problem where I need to export to Excel from a database. I am having no success. Please if you have a solution please can you let me know. Regards ma se

      K 1 Reply Last reply
      0
      • B Brendan Vogt

        Hi, This is not a solution to your question, I have a similar problem where I need to export to Excel from a database. I am having no success. Please if you have a solution please can you let me know. Regards ma se

        K Offline
        K Offline
        ksrs
        wrote on last edited by
        #3

        Hi i am using c#.net this is my code may be it is helpfull to u. XmlDataDocument xdd= new XmlDataDocument(dataset object ) XslCompiledTransform xt=new XslCompliedTransform() xt.load("~/.xsl"); XslArgumentlist xal=new XslArgumentlist(); xt.transform(xdd,xal,response.output); if u r using c# this is helpfull to u and add response.contenttype,response.addheader thanks

        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