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. How can I file upload to MSSQL??

How can I file upload to MSSQL??

Scheduled Pinned Locked Moved ASP.NET
csharpquestionasp-netsql-server
5 Posts 5 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.
  • L Offline
    L Offline
    lsh486love
    wrote on last edited by
    #1

    I'm using asp.net with C#. and I would like to know how I can file upload to MSSQL. Is there any sample source?? please let me know. thank you..

    A C M H 4 Replies Last reply
    0
    • L lsh486love

      I'm using asp.net with C#. and I would like to know how I can file upload to MSSQL. Is there any sample source?? please let me know. thank you..

      A Offline
      A Offline
      Abhijit Jana
      wrote on last edited by
      #2

      lsh486love wrote:

      and I would like to know how I can file upload to MSSQL. Is there any sample source?

      Did you Searched in Google Before post it over here? One more think, which file do you want to upload in DB? I would suggest to store the path in DB and store the file in Hard Drive. Thanks !

      cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net

      1 Reply Last reply
      0
      • L lsh486love

        I'm using asp.net with C#. and I would like to know how I can file upload to MSSQL. Is there any sample source?? please let me know. thank you..

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

        I recommend reading the link in my sig, it contains all the information you need.

        Christian Graus Driven to the arms of OSX by Vista. Please read this[^] if you don't like the answer I gave to your question. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.

        1 Reply Last reply
        0
        • L lsh486love

          I'm using asp.net with C#. and I would like to know how I can file upload to MSSQL. Is there any sample source?? please let me know. thank you..

          M Offline
          M Offline
          Matt Cavanagh
          wrote on last edited by
          #4

          http://www.codeproject.com/KB/database/SqlFileStream.aspx http://www.codeproject.com/KB/database/UploadPicturesSQLServer.aspx

          1 Reply Last reply
          0
          • L lsh486love

            I'm using asp.net with C#. and I would like to know how I can file upload to MSSQL. Is there any sample source?? please let me know. thank you..

            H Offline
            H Offline
            Herman T Instance
            wrote on last edited by
            #5

            well...if it is a file that contains data that should go into fields of a table. The fastest wat is to use bcp.exe, a commandline util of mssql server.

            In Word you can only store 2 bytes. That is why I use Writer.

            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