close
//用這種方式會找不到路徑
(PrintTEMP.FindControl("img1") as Image).ImageUrl = "util/Code39.ashx?code=" + CART_NO;
//需從外層指定起 加上~/web/
(PrintTEMP.FindControl("img1") as Image).ImageUrl = "~/web/util/Code39.ashx?code=" + CART_NO;
不然引用ashx 產生barcode影像時找不到
by11
全站熱搜