I used file browse field... I need to take the value which is in that text filed... (that means how do get full path of the selected file) please help me...
how to i get full file path?.... while i'm using fileupload field
Collapse
X
-
Tags: None
-
.Net has many solutions to situations like this, I encourage you to check out MSDN on the subject of System.IO as this will most likely answer any more questions you may have. Here for example is how we could get information about a file:
Remember to reference System.IO!Code:string filename = ""; FileInfo info = new FileInfo(filename); string path = info.DirectoryName;
Aimee.
Comment