Hello,
I've the following problem:
- I've a repeating table with 4 coloums
- I wanna write all coloums in a database so I will need a while-loop or sth. like this that he will write a dataset with the coloums in the database.
- I've no idea how to do this ;)
Here my present code:
IXMLDOMNodeList nl_table = thisXDocument.DOM.selectNodes("//my:gruppe2");
String thema = "";
String verantwortlicher = "";
String beginn = "";
String ende = "";
thisXDocument.UI.Alert("TEST");
IXMLDOMNode row = thisXDocument.DOM.selectSingleNode("//my:Ersteller");
while (row = nl_table.nextNode())
{
thema = Convert.ToString(row.selectSingleNode("my:Thema"));
verantwortlicher = Convert.ToString(row.selectSingleNode("my:Verantwortlicher"));
beginn = Convert.ToString(row.selectSingleNode("my:Beginn"));
ende = Convert.ToString(row.selectSingleNode("my:Ende"));
}
My Compiler says that the Conversion from "Microsoft.Office.Interop.InfoPath.SemiTrust.IXMLDOMNode" to "bool" isn't possible. The error is in "row = nl_table.nextNode()".
Hope you can help me.
Sorry for my bad English :)
Greez Osiris