webaplication + picture upload ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Cantekin Guneser

    #1

    webaplication + picture upload ?

    i am preparing my graduation project, it is website and i need to hep
    about uploading a picture from client side and insert MSSQL server database.
    if you can send me example code i would be glad.


  • Ron Vecchi

    #2
    Re: webaplication + picture upload ?

    you will need to use the System.Web.UI.H tmlControls.Inp utFile class in order
    to acuirer the uploaded file.
    You then use the PostedFile property of the object.

    I recommend saving the file to a directory and just storing the images
    virtual path in SQL.



    "Cantekin Guneser" <cantekingunese r@hotmail.com> wrote in message
    news:engv1A1iDH A.2276@TK2MSFTN GP10.phx.gbl...[color=blue]
    > i am preparing my graduation project, it is website and i need to hep
    > about uploading a picture from client side and insert MSSQL server[/color]
    database.[color=blue]
    > if you can send me example code i would be glad.
    >
    >[/color]


    Comment

    • Ron Vecchi

      #3
      Re: webaplication + picture upload ?

      you will need to use the System.Web.UI.H tmlControls.Inp utFile class in order
      to acuirer the uploaded file.
      You then use the PostedFile property of the object.

      I recommend saving the file to a directory and just storing the images
      virtual path in SQL.



      "Cantekin Guneser" <cantekingunese r@hotmail.com> wrote in message
      news:engv1A1iDH A.2276@TK2MSFTN GP10.phx.gbl...[color=blue]
      > i am preparing my graduation project, it is website and i need to hep
      > about uploading a picture from client side and insert MSSQL server[/color]
      database.[color=blue]
      > if you can send me example code i would be glad.
      >
      >[/color]


      Comment

      Working...