Upload files thorugh upload control

Posted by Santosh.Choudhury under ASP.NET on 4/14/2012 | Points: 10 | Views : 808 | Status : [Member] | Replies : 5
I want to upload files .the name of file is save in my project on a specific folder .The file is save on database.and it display below the file name in a label and what type of file such as word excel (the symbol is displayed of word and excel). I want to do as like monster save the resumes. for particular candidate.




Responses

Posted by: Ajay.Kalol on: 4/14/2012 [Member] Starter | Points: 25

Up
0
Down
Use FileUpload Control of .Net,

fileupload.SaveAs("Path") // This method copy the file which is browsed in given folder Path

fileupload.FileName // This will give you Name of File which Client has uploaded

Path.GetExtension(fileupload.FileName) // from this you can find your file extension

Just implement this as per your requirement...
Enjoy.....

Ajay
ajaypatelfromsanthal.blogspot.in

Santosh.Choudhury, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Santosh.Choudhury on: 4/15/2012 [Member] Starter | Points: 25

Up
0
Down
can any one give some link .

Santosh.Choudhury, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 4/16/2012 [Member] Bronze | Points: 25

Up
0
Down
Refer This Link

http://asp.net-tutorials.com/controls/file-upload-control/

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Santosh.Choudhury, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 4/16/2012 [Member] Bronze | Points: 25

Up
0
Down
Check This Link
http://www.dotnetfunda.com/codes/code2294-uploading-file-by-upload-controls.aspx

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Santosh.Choudhury, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 4/16/2012 [Member] Bronze | Points: 25

Up
0
Down
Check This
http://msdn.microsoft.com/en-us/library/aa478971.aspx

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Santosh.Choudhury, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response