Click here to Skip to main content
15,910,981 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Problem with filepath while reading to filestream Pin
Imran Khan Pathan13-Sep-07 18:36
Imran Khan Pathan13-Sep-07 18:36 
GeneralRe: Problem with filepath while reading to filestream Pin
anujose13-Sep-07 19:18
anujose13-Sep-07 19:18 
AnswerRe: Problem with filepath while reading to filestream Pin
Guffa13-Sep-07 19:32
Guffa13-Sep-07 19:32 
GeneralRe: Problem with filepath while reading to filestream Pin
anujose13-Sep-07 19:34
anujose13-Sep-07 19:34 
GeneralRe: Problem with filepath while reading to filestream Pin
anujose13-Sep-07 19:41
anujose13-Sep-07 19:41 
GeneralRe: Problem with filepath while reading to filestream Pin
Sandeep Akhare13-Sep-07 20:53
Sandeep Akhare13-Sep-07 20:53 
GeneralRe: Problem with filepath while reading to filestream Pin
Guffa14-Sep-07 7:28
Guffa14-Sep-07 7:28 
AnswerRe: Problem with filepath while reading to filestream Pin
Blue_Boy13-Sep-07 20:53
Blue_Boy13-Sep-07 20:53 
Guffa was right and I just submit his answer with simple code

//fudoc is HtmlInuptFile<br />
//UplDoc is Folder inside project<br />
FileInfo fInfo = new FileInfo(fudoc.Value.ToString());//here get path of local machine<br />
fudoc.PostedFile.SaveAs(Server.MapPath("~/UplDoc/") + fInfo.Name);//here save file in folder which exists in project


after this read file from Folder UplDoc

FileInfo fi = new FileInfo(Server.MapPath("~/UplDoc/filename.extension"));

Hope it helped



I Love SQL

GeneralRe: Problem with filepath while reading to filestream Pin
Sandeep Akhare13-Sep-07 20:57
Sandeep Akhare13-Sep-07 20:57 
GeneralRe: Problem with filepath while reading to filestream Pin
Blue_Boy13-Sep-07 21:05
Blue_Boy13-Sep-07 21:05 
Questionadding a property in the class Pin
I Never Look Behind13-Sep-07 17:50
I Never Look Behind13-Sep-07 17:50 
AnswerRe: adding a property in the class Pin
Steve Echols13-Sep-07 18:39
Steve Echols13-Sep-07 18:39 
QuestionSqlTransaction between postbacks Pin
tonymathewt13-Sep-07 17:35
professionaltonymathewt13-Sep-07 17:35 
AnswerRe: SqlTransaction between postbacks Pin
Steve Echols13-Sep-07 18:52
Steve Echols13-Sep-07 18:52 
GeneralRe: SqlTransaction between postbacks Pin
tonymathewt13-Sep-07 21:03
professionaltonymathewt13-Sep-07 21:03 
QuestionSearch Button Pin
Amit Kumar G13-Sep-07 13:51
Amit Kumar G13-Sep-07 13:51 
AnswerRe: Search Button Pin
Imran Khan Pathan13-Sep-07 18:30
Imran Khan Pathan13-Sep-07 18:30 
Questionstring Pin
seemamltn13-Sep-07 13:31
seemamltn13-Sep-07 13:31 
AnswerRe: string Pin
netJP12L13-Sep-07 17:23
netJP12L13-Sep-07 17:23 
AnswerRe: string Pin
Imran Khan Pathan13-Sep-07 18:20
Imran Khan Pathan13-Sep-07 18:20 
Questionhow to create a data entry table? Pin
foobarDividedByZero13-Sep-07 12:43
foobarDividedByZero13-Sep-07 12:43 
AnswerRe: how to create a data entry table? Pin
Shujaat Ullah Khan13-Sep-07 20:27
Shujaat Ullah Khan13-Sep-07 20:27 
QuestionValidation Pin
seemamltn13-Sep-07 12:39
seemamltn13-Sep-07 12:39 
QuestionGridView binding issue [modified] Pin
Vodstok13-Sep-07 10:51
Vodstok13-Sep-07 10:51 
AnswerRe: GridView binding issue Pin
Imran Khan Pathan13-Sep-07 18:56
Imran Khan Pathan13-Sep-07 18:56 

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.