| | |
how to upload a doc file into database
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
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 12:50 pm.
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 1:20 pm.
•
•
Join Date: Sep 2007
Posts: 4
Reputation:
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
![]() |
Similar Threads
- 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..
| Thread Tools | Search this Thread |
.net activexcontrol advice ajax alltypeofvideos appliances application asp asp.net bc30451 beginner bottomasp.net box browser button c# cac checkbox click commonfunctions control dataaccesslayer database datagridview datagridviewcheckbox datalist deployment development dgv dialog dropdownlist dynamic dynamically edit embeddingactivexcontrol expose fileuploader fill findcontrol flash form formatdecimal formview gridview gudi iframe iis javascript listbox login microsoft mono mouse mssql multistepregistration news novell numerical opera panelmasterpagebuttoncontrols parent radio redirect registration relationaldatabases reportemail rotatepage save schoolproject search security select sessionvariables silverlight smartcard smoobjects software sql-server sqlserver2005 ssl suse textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visualstudio web webapplications webdevelopemnt webdevelopment webprogramming webservice xsl youareanotmemberofthedebuggerusers






