HOW TO: Read and Write BLOB Data by Using ADO.NET with Visual C# .NET http://support.microsoft.com/directory/article.asp?ID=kb;en-us;Q309158
-----Mensaje original----- De: The DOTNET list will be retired 7/1/02 [mailto:[EMAIL PROTECTED]] En nombre de Christoph Enviado el: mi�rcoles, 05 de junio de 2002 18:57 Para: [EMAIL PROTECTED] Asunto: Re: [DOTNET] Save a Image to SQL 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. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
