System.Drawing.Bitmap异常????
Bitmap empPic;
try
{
empPic = new Bitmap("C:\\Documents and Settings\\Administrator\\桌面\\1244650666.jpg
");
}
catch(Exception ex)
{
lblErr.Text = "错误文件格式,请重试!!确定按钮, ex:" + ex.ToString() + "lnkPic.Src:" + lnkPic.Src;
lblErr.Visible = true;
return;
}
异常信息:System.ArgumentException: 参数无效。 在 System.Drawing.Bitmap..ctor(Stream stream)