Im converting code from VBA into c# and it is all about creating looong string and inserting it into MSSQL ntext field, im not kinda sure about the string`s size, but it looks rather too long for me. In VBA code insert statement looks like this:
With rstFormat
.AddNew
.Fields("field").Value = b
.Fields("field2").Value = "a"
FillBLOB .Fields("loongstring"), loongstring
So, i guess, FillBlob is a good idea, but how i can do the same with c#?
I am using ADO.NET.