在Windos应用程序中上传图像 [英] upload image in windos application
本文介绍了在Windos应用程序中上传图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我要上传图像并将其存储在c#.net windosapplication的images文件夹中
我如何为该任务存储任何代码的图像.... ???
i want to upload and store image in images folder in c#.net windosapplication
how can i store image any code for this task ....???
推荐答案
不是特定问题,而是:
Not a specific question but:
byte[] bytes = File.ReadAllBytes("Name of file to load");
Image image = imageBytes.ToImage();
image.Save("Name of saved file");
而且,请看这个:
如何在C#窗口应用程序的文件夹中保存图像.
And Also, please look at this:
How to Save Image in Folder in C# window Application.
这篇关于在Windos应用程序中上传图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文