Exemplo n.º 1
0
 private void BindItems()
 {
     DBLayer db = new DBLayer();
     uiGridViewItems.DataSource = db.GetAllItemsByProductID(CurrentProduct);
     uiGridViewItems.DataBind();
 }
Exemplo n.º 2
0
 private void LoadProjectPhotos()
 {
     DBLayer db = new DBLayer();
     DataSet ds = new DataSet();
     ds = db.GetAllItemsByProductID(CurrentProduct);
     uiDataListProductMedia.DataSource = ds;
     uiDataListProductMedia.DataBind();
 }