如何在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.