Ejemplo n.º 1
0
        public void GetData()
        {
            Test2DataSource ds = new Test2DataSource();

            ds.ID = "mono";
            TestBaseDataList bdl = new TestBaseDataList();
            Page             p   = new Page();

            bdl.Page = p;
            ds.Page  = p;
            p.Controls.Add(ds);
            p.Controls.Add(bdl);
            bdl.DataSourceID = "mono";
            Assert.IsNotNull(bdl.Data(), "GetData");
        }
Ejemplo n.º 2
0
		public void GetData ()
		{
			Test2DataSource ds = new Test2DataSource ();
			ds.ID = "mono";
			TestBaseDataList bdl = new TestBaseDataList ();
			Page p = new Page ();
			bdl.Page = p;
			ds.Page = p;
			p.Controls.Add (ds);
			p.Controls.Add (bdl);
			bdl.DataSourceID = "mono";
			Assert.IsNotNull (bdl.Data (), "GetData");
		}