Click here to Skip to main content
15,896,118 members
Home / Discussions / C#
   

C#

 
GeneralRe: etGetting File Path Pin
Richard Andrew x6418-Aug-12 17:24
professionalRichard Andrew x6418-Aug-12 17:24 
Well, the documentation for that control says the following:

Quote:
The FileContent property gets a Stream object that points to a file to upload. Use this property to access the contents of the file as bytes. For example, you can use the Stream object that is returned by the FileContent property to read the contents of the file as bytes and store them in a byte array. Alternatively, you can use the FileBytes property to retrieve all the bytes in the file.


I would use the FileContent property to get a stream object that reads the bytes of the file.



The difficult we do right away...
...the impossible takes slightly longer.

AnswerRe: Getting File Path Pin
OriginalGriff18-Aug-12 19:42
mveOriginalGriff18-Aug-12 19:42 
GeneralRe: Getting File Path Pin
ASPnoob18-Aug-12 20:46
ASPnoob18-Aug-12 20:46 
GeneralRe: Getting File Path Pin
OriginalGriff18-Aug-12 21:29
mveOriginalGriff18-Aug-12 21:29 
AnswerRe: Getting File Path Pin
Ed Hill _5_18-Aug-12 23:58
Ed Hill _5_18-Aug-12 23:58 
GeneralRe: Getting File Path PinPopular
Pete O'Hanlon19-Aug-12 1:26
mvePete O'Hanlon19-Aug-12 1:26 
GeneralRe: Getting File Path Pin
OriginalGriff19-Aug-12 1:32
mveOriginalGriff19-Aug-12 1:32 
GeneralRe: Getting File Path Pin
Pete O'Hanlon19-Aug-12 1:52
mvePete O'Hanlon19-Aug-12 1:52 
AnswerRe: Getting File Path Pin
Pete O'Hanlon19-Aug-12 4:51
mvePete O'Hanlon19-Aug-12 4:51 
GeneralRe: Getting File Path ... foolishness Pin
Richard MacCutchan19-Aug-12 5:46
mveRichard MacCutchan19-Aug-12 5:46 
GeneralRe: Getting File Path ... foolishness Pin
Pete O'Hanlon19-Aug-12 5:53
mvePete O'Hanlon19-Aug-12 5:53 
GeneralRe: Getting File Path ... foolishness Pin
Richard MacCutchan19-Aug-12 6:01
mveRichard MacCutchan19-Aug-12 6:01 
GeneralRe: Getting File Path ... foolishness Pin
Pete O'Hanlon20-Aug-12 2:40
mvePete O'Hanlon20-Aug-12 2:40 
Questioncue banner not working Pin
Jassim Rahma17-Aug-12 4:22
Jassim Rahma17-Aug-12 4:22 
AnswerRe: cue banner not working Pin
Ravi Bhavnani17-Aug-12 4:41
professionalRavi Bhavnani17-Aug-12 4:41 
AnswerRe: cue banner not working Pin
Wes Aday17-Aug-12 4:51
professionalWes Aday17-Aug-12 4:51 
GeneralRe: cue banner not working Pin
Shameel17-Aug-12 5:05
professionalShameel17-Aug-12 5:05 
GeneralRe: cue banner not working Pin
Jassim Rahma17-Aug-12 5:06
Jassim Rahma17-Aug-12 5:06 
GeneralRe: cue banner not working Pin
Wes Aday17-Aug-12 5:27
professionalWes Aday17-Aug-12 5:27 
AnswerRe: cue banner not working Pin
Richard Andrew x6417-Aug-12 8:04
professionalRichard Andrew x6417-Aug-12 8:04 
GeneralRe: cue banner not working Pin
Wes Aday17-Aug-12 8:28
professionalWes Aday17-Aug-12 8:28 
AnswerRe: cue banner not working Pin
Richard Andrew x6417-Aug-12 8:18
professionalRichard Andrew x6417-Aug-12 8:18 
QuestionTuples in Functions Pin
computerpublic17-Aug-12 3:52
computerpublic17-Aug-12 3:52 
AnswerRe: Tuples in Functions Pin
Wayne Gaylard17-Aug-12 4:37
professionalWayne Gaylard17-Aug-12 4:37 
GeneralRe: Tuples in Functions Pin
harold aptroot17-Aug-12 8:16
harold aptroot17-Aug-12 8:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.