예제 #1
0
        public void LoadGrid()
        {
            myDAL objMyDal = new myDAL();

            ItemGrid2.DataSource = objMyDal.intheater();
            ItemGrid2.DataBind();
        }
예제 #2
0
        private void Setup()
        {
            _items = new List <IGridItem>();
            for (int i = 0; i < 10; i++)
            {
                GridItem item = new GridItem {
                    Content = $"Str {i}"
                };

                _items.Add(item);
            }

            ItemGrid2.SetItems(_items);
        }