E
EDI
I have a XML which needs to be placed into Database. I am using a typed
Dataset and command builder. I loaded the xml into dataset using readXML
method. Now I want to place it into Database. But the rowstate property
remains unchanged because of which Data Adapter is not updating any rows in
the table.
XmlDocument xmlD = new XmlDocument();
xmlD.Load(filePath);
TypedDataSet tds = new TypedDataSet();
tds.Fill(xmlD);
//Here the row status is unchanged.
How do I update rows into database with out having to create a new dataset
and manually load all rows one by one into it?
Dataset and command builder. I loaded the xml into dataset using readXML
method. Now I want to place it into Database. But the rowstate property
remains unchanged because of which Data Adapter is not updating any rows in
the table.
XmlDocument xmlD = new XmlDocument();
xmlD.Load(filePath);
TypedDataSet tds = new TypedDataSet();
tds.Fill(xmlD);
//Here the row status is unchanged.
How do I update rows into database with out having to create a new dataset
and manually load all rows one by one into it?