Monthly Archives: August 2011

How to read a “tCompressedString(varbinary(max))” fieldvalue from a SharePoint content database

this blog helped me to find the solution: a snippet from my code: using System.IO.Compression; … SqlBytes bytes = sqlDataReader.GetSqlBytes(sqlDataReader.GetOrdinal(“xmlFields”)); Stream stream = bytes.Stream; for (int i = 0; i < 14; i++)                 stream.ReadByte(); DeflateStream deflateStream = new DeflateStream(stream, … Continue reading

Posted in Geen categorie | Tagged | Leave a comment