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. Web Development
  3. ASP.NET
  4. Comma Separated Value

Comma Separated Value

Scheduled Pinned Locked Moved ASP.NET
csharphelpasp-nettutorial
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.
  • K Offline
    K Offline
    krishna2gubbala
    wrote on last edited by
    #1

    Hi Every body..., i have problem with CSV.How to Coverting data in a table to CSV file. (i am using Sql2005 and Vs2005 asp.net ajax,C#) Please Help Me.........,

    C J 2 Replies Last reply
    0
    • K krishna2gubbala

      Hi Every body..., i have problem with CSV.How to Coverting data in a table to CSV file. (i am using Sql2005 and Vs2005 asp.net ajax,C#) Please Help Me.........,

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      The fact that you mention AJAX makes me worry that you don't understand any of hte things you are using. you get your data from SQL Server, and you write it to a file, with a comma between each value and a new line between each line. It's really that simple. Which bit are you stuck on ?

      Christian Graus Driven to the arms of OSX by Vista.

      1 Reply Last reply
      0
      • K krishna2gubbala

        Hi Every body..., i have problem with CSV.How to Coverting data in a table to CSV file. (i am using Sql2005 and Vs2005 asp.net ajax,C#) Please Help Me.........,

        J Offline
        J Offline
        J4amieC
        wrote on last edited by
        #3
        1. Using a datareader to directly read the data and write the file yourself 2) Using a DataTable/DataAdapter combination to load the data and write the file yourself 3) Using Sql's built-in export feature to write the file 4) Using Sql's ability to output Xml and using an XSL Transformation to write the file There, that should give you some google fodder. Ive probably missed a few.
        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