content of a http posted file using stream reader

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • blessonin
    New Member
    • Jan 2008
    • 5

    content of a http posted file using stream reader

    hi all,
    i want to know how to read the content of a http posted file using stream reader i am using the folloing line but an error in the last line sayin that " 'System.IO.Stre am' cannot be converted to 'System.IO.Stre amReader'."
    Dim str As StreamReader
    Dim hp As HttpPostedFile
    hp = FileUpload1.Pos tedFile
    str = hp.InputStream
    pls help me
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    This article may help:
    Uploading Files with ASP.NET

    Comment

    Working...