How do i save and retrieve a file in a database,
have used streams in vb6 but doesnt seem to work for me in c#.
can someone please help
omlac
0
Newbie Poster
Recommended Answers
Jump to PostStream works in C#, just convert your file to binary data and save it into column of datatype that's for SQL Server 2000/2005 but if you use SQL Server 2008 you don't need to convert it to Binary as there's datatype called FileStream.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.