User Profile

Collapse

Profile Sidebar

Collapse
Laine
Laine
Last Activity: Jun 20 '12, 05:12 PM
Joined: Jun 15 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Laine
    replied to AsyncFileUpload - Save into DB
    hi, yup it is the same but stil having the same error..
    hmmm. by the way does your code save the image file path into databasE? im quite confused haha cus how does the system know to store my image file path?
    pardon me as im new to vb :)
    See more | Go to post

    Leave a comment:


  • Laine
    replied to AsyncFileUpload - Save into DB
    Thanks for ur code :)

    however for dim path as String i got this error:

    Operator '&' is not defined for types 'String' and 'System.IO.Dire ctoryInfo'.
    See more | Go to post

    Leave a comment:


  • Laine
    replied to AsyncFileUpload - Save into DB
    Hi there thanks for replying.

    this is the code i use to save my uploaded image into my folder.

    Dim filename As String = System.IO.Path. GetFileName(Asy ncFileUpload1.F ileName)
    AsyncFileUpload 1.SaveAs(Server .MapPath("Adver tisementImg/") + filename)

    however this doesnt save the image file path into my DB which i needed it to display at another aspx..
    See more | Go to post

    Leave a comment:


  • Laine
    started a topic AsyncFileUpload - Save into DB

    AsyncFileUpload - Save into DB

    Hi, for now im able to save the image into a specific folder using AsyncFileUpload .

    However, i've no idea how to save the image filepath into db and display at another aspx of my project which retrieve using image filepath.

    Am i in the right track? thanks for your time
    See more | Go to post
No activity results to display
Show More
Working...