troubleshooting Question

Export Text file From Image Field in SQL Server

Avatar of tfewster500
tfewster500 asked on
ASP.NET
2 Comments1 Solution535 ViewsLast Modified:
I'm building an ASP.NET application that will allow users to upload files into an SQL Service IMAGE field.  Users can then download files that they find through searches, etc.

I want to be able to read the IMAGE data from the database table and if the file is a text file, I want to do the following.

1) Read the file data out of the IMAGE field and export it do a text file on the web server.
2) Then stream in the text file that is exported and show it in a Text Field.

I've got enough sample code to do part 2), but I'm stuck on part one.  How can I do this?
ASKER CERTIFIED SOLUTION
Ashutosh Vyas
Individual Contributor, Software Architect

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros