DataSet testDS = new DataSet("Test");
            DataTable testDT = new DataTable("student");
            DataTable testDTA = new DataTable("course");
            
            DataColumn testDC = new DataColumn("ID",Type.GetType("System.Int32"));
            testDT.Columns.Add(testDC);
            testDC = new DataColumn("Name",Type.GetType("System.String"));
            testDT.Columns.Add(testDC);
            testDC = new DataColumn("CID",Type.GetType("System.Int32"));
            testDT.Columns.Add(testDC);
            testDC = new DataColumn("CName",Type.GetType("System.String"));
            testDTA.Columns.Add(testDC);
            testDC = new DataColumn("CID",Type.GetType("System.Int32"));
            testDTA.Columns.Add(testDC);
            testDS.Tables.Add(testDTA);
            testDS.Tables.Add(testDT);创建完DataSet后使用类型化数据访问无法出现对应的属性
也就是使用testDS.之后没有对应的列出来.不知道上面的添加DataSet方式是否正确,如果哪位有使用类型化数据集访问列的例子,麻烦贴一下,越短越好.