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 to upload an document file?

how to upload an document file?

Scheduled Pinned Locked Moved ASP.NET
helptutorialquestion
6 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.
  • M Offline
    M Offline
    monuSaini
    wrote on last edited by
    #1

    hello to everyone, i want to upload only doc file.but i m unable to do dat. can any body help me to solve dis problem. thanx rahul saini

    B 1 Reply Last reply
    0
    • M monuSaini

      hello to everyone, i want to upload only doc file.but i m unable to do dat. can any body help me to solve dis problem. thanx rahul saini

      B Offline
      B Offline
      Britney S Morales
      wrote on last edited by
      #2

      Try using the FileUpload Control and the command FileUpload1.PostedFile.SaveAs(SaveToAddress); :)

      keep Learning and you never will be out of date...

      T M 3 Replies Last reply
      0
      • B Britney S Morales

        Try using the FileUpload Control and the command FileUpload1.PostedFile.SaveAs(SaveToAddress); :)

        keep Learning and you never will be out of date...

        T Offline
        T Offline
        Tal Kain
        wrote on last edited by
        #3

        a little comment: you should check if a file was really sent before trying to save it :-) if(FileUpload1.PostedFile != null) { //handle the incoming file } have fun.

        M 1 Reply Last reply
        0
        • B Britney S Morales

          Try using the FileUpload Control and the command FileUpload1.PostedFile.SaveAs(SaveToAddress); :)

          keep Learning and you never will be out of date...

          M Offline
          M Offline
          monuSaini
          wrote on last edited by
          #4

          DEAR Britney S. Morales thanx, for providing me solution of my problem. Njoy :) bye again THANX.

          rahul saini

          1 Reply Last reply
          0
          • T Tal Kain

            a little comment: you should check if a file was really sent before trying to save it :-) if(FileUpload1.PostedFile != null) { //handle the incoming file } have fun.

            M Offline
            M Offline
            monuSaini
            wrote on last edited by
            #5

            Dear Talkain, thanx for ur comment, can u help me to sort out other problem. please check my new post. again thanx rahul saini

            1 Reply Last reply
            0
            • B Britney S Morales

              Try using the FileUpload Control and the command FileUpload1.PostedFile.SaveAs(SaveToAddress); :)

              keep Learning and you never will be out of date...

              M Offline
              M Offline
              monuSaini
              wrote on last edited by
              #6

              Please check my new post, thanx :) rahul saini

              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