如何在c#中的图像控件中上传图像和预览 [英] how to upload image and preview in image control in c#
本文介绍了如何在c#中的图像控件中上传图像和预览的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
请使用文件上传控件和图像控件中的预览为c +中的代码提供上传图像,并将该图像保存在sql server或数据库中。
please give me the code in c# for upload image using file upload control and preview in image control and save that image in sql server or database.
推荐答案
For一个开始c#不是用户界面所以你无法在c#中预览图像,你需要决定用户界面。
如果你做一个简单的搜索 [ ^ ]有足够的代码可以上传你可以使用的文件。
For a start c# is not a user interface so you can't preview an image in c#, you need to decide on a UI.
If you do a simple search [^]there is plenty of code to upload a file you can use.
这篇关于如何在c#中的图像控件中上传图像和预览的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文