Beispiel #1
0
        public void DataControlFieldCollection_RemoveAt()
        {
            DataControlFieldCollection collection = new DataControlFieldCollection();

            collection.Add(new BoundField());
            Assert.AreEqual(1, collection.Count, "CollectionCount");
            collection.RemoveAt(0);
            Assert.AreEqual(0, collection.Count, "RemoveAtIndex");
        }
Beispiel #2
0
        public void DataControlFieldCollection_RemoveAtException()
        {
            DataControlFieldCollection collection = new DataControlFieldCollection();

            collection.RemoveAt(0);
        }