我想在button_click事件的图像框中显示图像,而不使用带有c#的asp.net中的文件上传控件
protected void btnBrowseImage_Click(object sender, EventArgs e)
{
btnBrowseImage.Text = "Click";
if (btnBrowseImage.Text == "Click")
{
//I want to show here image box fill with image
}
}
答案 0 :(得分:0)
ImageControl.Source = @"Path to your image";
?