日期:2014-05-17 浏览次数:20427 次
private void Picture1_BeforePrint(object sender, EventArgs e)
{
Picture1.Clear ();
string sPic="";
string Picfile=Report.GetParameterValue("Picfile").ToString();
sPic= Picfile+((String)Report.GetColumnValue("DFMExtReview.Image"));
if (File.Exists (sPic))
{
Picture1.ImageLocation= sPic;
}
else
{
Picture1.Visible =false;
}
}