文件上传控件如何存储在数据库中? [英] File upload control how to store in database?
本文介绍了文件上传控件如何存储在数据库中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道如何使用文件上载控制将文件存储在文件夹中,但是如何将其存储在数据库中以及如何存储在数据库中.请给我一个简单的示例,例如将pdf文件存储在数据库中,并说明如何将其存储在数据库中.数据库
http://csharpdotnetfreak.blogspot.com/2009/07/fileupload-control- save-images-database.html [ ^ ]
文章关于4guysfromrolla
http://www.4guysfromrolla.com/articles/120606-1.aspx [ ^ ]
有关不同文件类型的全文,请点击此处
http://www.aspsnippets.com/Articles/将文件保存到SQL Server数据库使用FileUpload-Control.aspx [ http://www.google.co.uk/search?q=fileupload+save+ in + database [^ ]
I know how to store files in folder using file upload control but How can I store this in database and how It stored in it. Pls give me a simple example like store pdf file in a database and explain how it stored in database.
解决方案
Here''s an example of saving an image into a database
http://csharpdotnetfreak.blogspot.com/2009/07/fileupload-control-save-images-database.html[^]
Article on 4guysfromrolla
http://www.4guysfromrolla.com/articles/120606-1.aspx[^]
Full article on different file types here
http://www.aspsnippets.com/Articles/Save-Files-to-SQL-Server-Database-using-FileUpload-Control.aspx[^]
As always, Google links for more examples
http://www.google.co.uk/search?q=fileupload+save+in+database[^]
这篇关于文件上传控件如何存储在数据库中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文