I'm trying to write data using ADO.NET 2.0 (C#) to a VARBINARY(MAX) column in SQL Server. I'm trying to write the data in chunks. I followed the example given on http://support.microsoft.com/kb/317034.
However, I get the error that TEXTPTR cannot be used with VARBINARY(MAX).
Does anyone know the correct way to do this?