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. reading a string from a txt file & insert it in a database table?

reading a string from a txt file & insert it in a database table?

Scheduled Pinned Locked Moved C#
questioncsharpdatabase
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
    starist
    wrote on last edited by
    #1

    plz how can i read a string from a txt file then insert it in a database table using C# in visualstudio2005 ?

    S W 2 Replies Last reply
    0
    • S starist

      plz how can i read a string from a txt file then insert it in a database table using C# in visualstudio2005 ?

      S Offline
      S Offline
      snorkie
      wrote on last edited by
      #2

      Try the following projects... To read a file. Insert into a database Above are two code projects that were quite easy to search for. If you combine the concepts and examples from the two projects, you'll get the answer you need. If you had been more specific about a single problem, you probably would have got a source code answer for that problem. Hogan

      1 Reply Last reply
      0
      • S starist

        plz how can i read a string from a txt file then insert it in a database table using C# in visualstudio2005 ?

        W Offline
        W Offline
        WhiteGirl23
        wrote on last edited by
        #3

        Hi, you can read the text in bytes and then insert the bytes (search on google:write blobs in database) in database. -- modified at 5:19 Thursday 23rd August, 2007

        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