Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [Serializable]
- public class SelectedItem
- {
- public int Id { set; get; } // 選択商品のID
- public string Name { set; get; } // 選択商品の商品名
- public int Price { set; get; } // 選択商品の価格
- public int Quantity { set; get; } // 選択商品の数量
- // 1ページ目のGridView選択行のImageコントロールのImageUrlプロパティから
- // 取得した選択商品の画像ファイルへのパス
- // これを2ページのImageコントロールのImageUrlプロパティにセット
- public string Image { set; get; }
- public SelectedItem(int id, string name, int price, int quantity, string image)
- {
- this.Id = id;
- this.Name = name;
- this.Price = price;
- this.Quantity = quantity;
- this.Image = image;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement