C#中的代码以将数据保存在图像中(图像保存在数据库中) [英] code in c# to save data in image (image saved in data base)

查看:84
本文介绍了C#中的代码以将数据保存在图像中(图像保存在数据库中)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请帮帮我
我可以从数据库中保存和加载图像
我需要将数据保存到c#

plzz help me
i can saved and load image from data base
i need to save data into image in c#

推荐答案

您自己尝试过什么?搜索Google或CP,我在需要时通过搜索找到了该问题的答案.您需要将问题直接输入Google或查看System.IO命名空间中的MemoryStream.将图像二进制数据加载到内存流中,然后从内存流中创建Image对象.
Tried anything yourself? Serach Google or CP I found the answer to this question a while ago, when I needed it, by searching. You will need to either type the question into Google directly or have a look at MemoryStreams in System.IO namespace. Load the image binary data into a memory stream then create an Image object from the memory stream.


这篇关于C#中的代码以将数据保存在图像中(图像保存在数据库中)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆