文件插入数据库 [英] files inserting into database
本文介绍了文件插入数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请帮我一些.我想将文件(pdf,jpg,gif,txt,doc等)插入数据库并从数据库中检索.我必须在sql server中获取什么数据类型.我不知道该怎么办,您能帮我吗
Pls help me some one.i want to insert files(pdf,jpg,gif,txt,doc etc) into database and retrive from database.what datatype i have to take in sql server. i dont know how to do can you pls help me
推荐答案
试试这个
在SQL中存储和检索doc/pdf/xls文件服务器 [ ^ ]
从SQL Server数据库中保存和检索文件使用ASP.Net [ ^ ]
建议:不建议将文件保存在数据库中,最好是文件夹系统.
涉及将文件存储在数据库中的示例文件系统
将上传的文件存储在数据库或使用ASP.NET 2.0的文件系统中 [
Try this
Storing and Retrieving doc/pdf/xls files in SQL Server[^]
Save and Retrieve Files from SQL Server Database using ASP.Net[^]
Suggestion : Saving Files in database is not advisable, better one is File Folder System.
An example involving storing files in database & File system
Storing Uploaded Files in a Database or in the File System with ASP.NET 2.0[^]
使用 ^ ]
请参见此处 [ Google [
Use Image[^]
See Here[^]
Or Google[^]
这篇关于文件插入数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文