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

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 11 的頭像
    11

    冠霖的部落格

    11 發表在 痞客邦 留言(0) 人氣()