保存到memoryStream [英] save to memoryStream
本文介绍了保存到memoryStream的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
Hi Guys
关于如何将图像从数据绑定datagidview控件保存到memoryStream的任何示例。
谢谢
dean
Hi Guys
any example on how to save an image from a data bound datagidview control to memoryStream.
Thanks
dean
推荐答案
这与其他任何实现没有什么不同。该列为您提供了一个Image对象,通常是一个Bitmap,您可以使用整个网络上的数千个示例中的任何一个。
Google forc#convert image to字节数组。
It's no different than any other implementation. The column gives you an Image object, usually a Bitmap, and you can use any of the thousands of examples all over the web.
Google for "c# convert image to byte array".
这篇关于保存到memoryStream的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文