that code has inserted the following line 'c:\web\root\images\dhstmast.jpeg' in the database. I was expecting the data to be 'c:\web\root\images\dhstmast.jpeg' considering it seems to strip one '\' when only one is used. with the '\' windows does not recognise the file path.
any idea what the solution might be to get it to insert the line as 'c:\web\root\images\dhstmast.jpeg'