I'm scanning a bunch of files and writing the results to a StringBuilder. I then want to save this data to a single column, which I've set as nvarchar(MAX).
But no matter what I do, it always appears as a blank string in SQL. I wrote the results to a text file as well and everything is there.
VB.NET Code:
command.Parameters.AddWithValue("@TempFilesLog", TestData.TempFileLog.ToString)
Any ideas why it isn't working? Should I not save the data this way?




Reply With Quote