howto upload file

Posted by Suneel161 under Regular Expressions on 2/16/2010 | Views : 1862 | Status : [Member] | Replies : 6
hiii

how to upload file.and store into databse...using asp 3.5 c# sql server2005...plz help me




Responses

Posted by: Abhi2434 on: 2/16/2010 [Member] [Microsoft_MVP] [MVP] Silver

Up
0
Down
This is what exactly you are looking for :

http://www.codeproject.com/KB/aspnet/fileupload.aspx

:)

www.abhisheksur.com

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

Posted by: Bubbly on: 2/16/2010 [Member] Bronze

Up
0
Down
Hello,

check this link

http://msdn.microsoft.com/en-us/library/aa479405.aspx

++
Thanks & Regards,
Deepika

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

Posted by: Raja on: 2/16/2010 [Member] Starter

Up
0
Down
There are many articles on this website as well. Search the Articles and you will get it.

http://www.dotnetfunda.com/articles/article87.aspx

http://www.dotnetfunda.com/articles/article484-ajax-style-file-upload-.aspx

http://www.dotnetfunda.com/articles/article269.aspx

Thank you.



Regards,
Raja, USA

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

Posted by: Vuyiswamb on: 2/17/2010 [Member] [MVP] [Administrator] NotApplicable

Up
0
Down
Look at this

http://www.beansoftware.com/ASP.NET-Tutorials/Binary-Files-To-Database.aspx

http://www.codeproject.com/KB/aspnet/fileupload.aspx

Thank you for Posting at Dotnetfunda

Vuyiswa Maseko

Thank you for posting at Dotnetfunda
[Administrator]

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

Posted by: Nishithraj on: 2/17/2010 [Member] Bronze

Up
0
Down
Storing files or images in binary format to a database is not advicible always.

You can use file upload control and store it in a specific folder using Fileupload1.SaveAs(path) method. Also you can store the name of the file in database and retrieve it whenever necessary.

Mark this as answer, if it is.....

With regards
Nishithraj Narayanan

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

Posted by: Abhi2434 on: 2/17/2010 [Member] [Microsoft_MVP] [MVP] Silver

Up
0
Down
Yes, Nishithraj is right.

It is easier to store files in folders rather than going for database, if you are not using this files from other applications too..

www.abhisheksur.com

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

Login to post response