•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 423,397 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,597 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 4931 | Replies: 4
![]() |
•
•
Join Date: Feb 2005
Location: Braintree, UK
Posts: 1,165
Reputation:
Rep Power: 7
Solved Threads: 59
What database are you using? if Sql Server 2000 the general rule is to just save the path to the file in the database. The logic being: Files belong in a file system not a relational database. But, you can store files in binary format as BLOBS (Binary Large Objects) in the image datatype column of SqlServer 2000. In SqlServer 2005 you have varbinary(max) datatype which is better.
Last edited by hollystyles : Sep 18th, 2007 at 11:50 am.
•
•
Join Date: Feb 2005
Location: Braintree, UK
Posts: 1,165
Reputation:
Rep Power: 7
Solved Threads: 59
Trust me, whatever you want to do someone's already done it. Just use Google:
http://www.codeproject.com/useritems/Store_and_manipulat_BLOBs.asp?msg=2232721
That's C# code.
Try and implement it in your project. If you get stuck, come back and post or code/error and well help you get it working.
http://www.codeproject.com/useritems/Store_and_manipulat_BLOBs.asp?msg=2232721
That's C# code.
Try and implement it in your project. If you get stuck, come back and post or code/error and well help you get it working.
Last edited by hollystyles : Sep 18th, 2007 at 12:20 pm.
•
•
Join Date: Sep 2007
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
•
•
•
•
Trust me, whatever you want to do someone's already done it. Just use Google:
http://www.codeproject.com/useritems/Store_and_manipulat_BLOBs.asp?msg=2232721
That's C# code.
Try and implement it in your project. If you get stuck, come back and post or code/error and well help you get it working.
Thanks sir
![]() |
•
•
•
•
•
•
•
•
DaniWeb ASP.NET Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
.net .net framework 3.0 access adsl adsl1 adsl2 adsl2+ ajax asp avatar backup breach cable code combo connection custom daniweb data data protection database design developer development dropdownlist government hacker ibm internet medicine microsoft module net news normalization office reuse second security server skin software sql survey theme upload vista web windows workflow 240000
- How a doc file can be open inside browser without prompting the download dialog box (ASP.NET)
- Get data out of excel file stored as an image (MS SQL)
- how to store the uploaded txt or .doc or jpg file in to webserver by dynamically (ASP.NET)
- Upload a word file into mysql database (Java)
- Storing Text file in Database through VB (Visual Basic 4 / 5 / 6)
- search text in a doc file (VB.NET)
- Insert Contents Of Text File Into Database (ASP.NET)
- When Users Upload *.txt file, i will get Total Points ,Points Per Game ,etc... (PHP)
- how to upload a ms word file and store it in sql table (ASP.NET)
Other Threads in the ASP.NET Forum
- Previous Thread: Installation issues...
- Next Thread: Is there possible to use module class in web application..



Linear Mode