日期:2014-05-18 浏览次数:20496 次
<asp:ImageButton ID="imgBtnPic" runat="server" width="100%" border="0" ImageUrl='~/images/248/<%#Eval("picid")%>.png' CommandName="imgBtnPic" CommandArgument='<%#Eval("ID") %>' />
protected void InitNotimeBreakfast() { DataSet ds_breakfastclass = bll_menu.GetMenuByRecom("1"); if (ds_breakfastclass != null && ds_breakfastclass.Tables.Count > 0 && ds_breakfastclass.Tables[0].Rows.Count > 0) { Repeater2.DataSource = ds_breakfastclass; Repeater2.DataBind(); } }
ImageUrl='<%# Eval("picid", "~/images/248/{0}.png") %>'