コード例 #1
0
    protected void ListBand(int id)
    {
        List <ProductsPhoto> al = new List <ProductsPhoto>();

        al = Leyp.SQLServerDAL.Factory.getProductsPhotoDAL().getListByProductsID(id);
        PhotoList.DataSource = al;
        PhotoList.DataBind();
    }
コード例 #2
0
    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;
    }