我怎样才能让我的代码获取图像“_filename.JPG”而不仅仅是“_filename.jpg”?
string picUrl = "http://MyServer/" + _filename + ".jpg";
Image webImage = global::MyProject.Properties.Resources.ImageNotFound1;
try
{
WebRequest requestPic = WebRequest.Create(picUrl);
WebResponse responsePic = requestPic.GetResponse();
webImage = Image.FromStream(responsePic.GetResponseStream());
}