hi,
I am creating xml file like this
cn = new OleDbConnection(CONN_STRING);
da = new OleDbDataAdapter("select satisfactoryitemcount as ConsumerRating from inspection where InspectorperiodId=4147 Order by CreatedDateTime ASC", cn);
DataSet Inspection = new DataSet("InspectionSummaryReport");
da.Fill(Inspection);
Inspection.WriteXml("C:\\aa.xml");
it working fine and i am getting the output like this
<?xml version="1.0" standalone="yes"?>
<InspectionSummaryReport>
<Table>
<ConsumerRating>0</ConsumerRating>
</Table>
</InspectionSummaryReport>
but i want out put like
<?xml version="1.0" standalone="yes"?>
<InspectionSummaryReport>
<ConsumerRating>0</ConsumerRating>
</InspectionSummaryReport>
That is i dont want table tag.Any one help me urgent plz.
Regards,
Koti.