Hi All,
I am using VS.NET 2003. I have a class which is derived from DataSet class.
I have some methods in it both overridden and new methods. I am facing the problem when i try to use ReadXml method of the base class. The ReadXml method of the base class is not overridden.
When i say,
derivedclassObject.ReadXml("Data.xml");
It reads nothing, the Rows.Count property is zero.
The Data.xml file infact has more than one table and each table atleast has 1 row.
The same file if used in dataset objects readxml method it reads properly and the data is loaded onto the dataset.
Please help me out. I think i am wrong when i am trying to call the base class method.
Regards
Yashasvi
I am using VS.NET 2003. I have a class which is derived from DataSet class.
I have some methods in it both overridden and new methods. I am facing the problem when i try to use ReadXml method of the base class. The ReadXml method of the base class is not overridden.
When i say,
derivedclassObject.ReadXml("Data.xml");
It reads nothing, the Rows.Count property is zero.
The Data.xml file infact has more than one table and each table atleast has 1 row.
The same file if used in dataset objects readxml method it reads properly and the data is loaded onto the dataset.
Please help me out. I think i am wrong when i am trying to call the base class method.
Regards
Yashasvi
Last edited: