C# Windows Application How to Upload a Word Document

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ice Vato
    New Member
    • Jan 2008
    • 18

    C# Windows Application How to Upload a Word Document

    Hi there.I have a windows application in Visual Studio 2008 using C# 3.5 and SQL server 2008.I am trying to create an upload button to upload a candidates cv to a sql database.I have the browsing feature done which allows a user to browse for the file, but i am unable to perform the upload part...Can anybody help me in finding a solution to this please?
    Thank you in advance...
  • shweta123
    Recognized Expert Contributor
    • Nov 2006
    • 692

    #2
    Hi,

    Check out The following link :
    Upload Document to The Database

    Comment

    • Ice Vato
      New Member
      • Jan 2008
      • 18

      #3
      Thanks Shweta123...The problem is, that solution is in ASP.Net , and i have only been exposed to building windows applications, so to convert that code is abit difficult for me..
      But thank you very much for your response!! :-)

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        The only difference is on how you get a reference to a Stream object of your file. the rest of the code is C# that should still work for your purposes. Have a look at the code again.

        Comment

        Working...