Does anyone know if it is possible to save a document to a SQL 2000 database image field from a .NET web form running on Windows 2000 .NET 1.1 framework. I've seen plenty of code on the internet on how to do this in Visual Studio 2005 and .NET 2.0 but now on older platform.

thank you.

Recommended Answers

All 4 Replies

Thank you for the link to the article. I tried using this code and I keep getting an error message on File1.PostedFile "object reference not set to an instance of an object". If I wrap it in an If Not Is Nothing statement, it will not fall in the code so apparently nothing is being passed or populated in the File1.PostedFile. I considered using FileUpload, but found that is only available in .net 2.0 or 3.0.

any ideas? thanks again.

Did you set File control as 'Run as Server Control'

hi please help me....how to retrieve last 5 records from database in vb 6.0 using sql statements

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.