0

I have got some HTML stored in a SQL database which contains links to images (img src tags)

I need to find a way of replacing the links with the actual file embedded in base64 format and copying it to a different table. I can't think how best to achieve this?

The reason for it is that I need to migrate some HTML knowledge documents from one system to another and the other system requires the images to be embeded.

I am using MS SQL Server and Visual Studio (c#) Thanks

SkipFeeney
  • 61
  • 1
  • 6
  • Each individual step answered many times on SO already. You should simply hire someone to stitch them together... or maybe narrow down question to particular problem you faced doing so. – Alexei Levenkov Jan 12 '16 at 22:13
  • Try search before you post. You may want to write a job that downloads all the images and convert them into base64 format and save it into DB. http://stackoverflow.com/questions/17874733/converting-image-to-base64 – joordan831 Jan 12 '16 at 22:47

0 Answers0