在工具箱中找不到的PictureBox [英] can't find PictureBox in Toolbox

查看:336
本文介绍了在工具箱中找不到的PictureBox的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不能在我的Visual Studio的工具箱中找到图片框,但它在工具检查>选择工具箱项。

I can't find PictureBox in my visual studio's toolbox, however it's checked in tools>choose toolbox item.

有没有使用它而无需卸载和重新安装VS任何解决方案?
我可以使用其他工具,而不是图片框在一个网站中插入图片上传操作?

Is there any solution for using it without uninstalling and installing VS again? Can i use any other tools instead of PictureBox for inserting image uploading operation in a website?

我使用Microsoft Visual Studio 2010

I'm using Microsoft Visual Studio 2010.

推荐答案

有在asp.net没图片框。使用图像,您将在标准控制找到。

There is no PictureBox in asp.net. Use the "Image", which you will find under the "Standard" controls.

要小心的是,图像,是一个大的组成部分。如果你只是想显示图像,使用普通的HTML IMG-标记

Beware though, "Image" is a "big" component. If you just want to display an image, use the plain HTML img-Tag.

有关上传,使用FileUpload控件。

For uploading, use the FileUpload control.

这篇关于在工具箱中找不到的PictureBox的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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