Sérgio, Take a look at this article on MSDN:
HOW TO: Read and Write a File to and from a BLOB Column by Using Chunking in ADO.NET and Visual Basic .NET (Q317034) Save your Bitmap to a MemoryStream and insert the chunks from the MemoryStream to the database instead of the FileStream in the example. HTH, Christoph Schittko Software Architect Mshow - a division of InterCall ----- Original Message ----- From: "Sérgio Rodelo" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 05, 2002 11:12 AM Subject: [DOTNET] Save a Image to SQL I have the following code: Dim timg As System.Drawing.Image = New System.Drawing.Bitmap(imgStream) Dim tunm As System.Drawing.Image = timg.GetThumbnailImage(100, 100, Nothing, Nothing) Now I want to save the "tunm" in a table of SQL in a field of type I, how can Image do this ? You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.