hi everybody,
i am doing a small project in that project i need to upload a doc file into database.
i am doing project in asp.net2005 with c# please help in coding
thanks
mahesh kumar
hi everybody,
i am doing a small project in that project i need to upload a doc file into database.
i am doing project in asp.net2005 with c# please help in coding
thanks
mahesh kumar
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.
iam using sqlserver 2005
please can u send me code in c#
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.
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
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.