protected void ListBand(int id) { List <ProductsPhoto> al = new List <ProductsPhoto>(); al = Leyp.SQLServerDAL.Factory.getProductsPhotoDAL().getListByProductsID(id); PhotoList.DataSource = al; PhotoList.DataBind(); }
protected void init() { string ID = Request.QueryString["BuyOrderID"].ToString(); DataSet dd = Leyp.SQLServerDAL.Buy.Factory.getBuyOrderDetailDAL().getOrderDetailPhoto(ID); PhotoList.DataSource = dd; PhotoList.DataBind(); Label1.Text = ID; }