ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
ASKER
Dim TableA As New DataTable
Dim TableB As New DataTable
Dim ds As New DataSet
TableA.Columns.Add("Probleme_ID", GetType(Integer))
TableA.Columns.Add("Probleme", GetType(String))
TableA.TableName = "ProblemeTable"
TableA.ReadXml("Probleme.xml")
TableA.PrimaryKey = New DataColumn() {TableA.Columns("Probleme_ID")}
TableB.Columns.Add("Probleme_ID", GetType(Integer))
TableB.Columns.Add("Probleme", GetType(String))
TableB.TableName = "ProblemeTable"
TableB.ReadXml("Problemea.xml")
TableB.PrimaryKey = New DataColumn() {TableB.Columns("Probleme_ID")}
TableA.Merge(TableB)
ds.DataSetName = "Root"
ds.Tables.Add(TableA)
ds.WriteXml("Result.xml")
Ideally, xml files should have a schema. This helps a lot in working with them because the schema contains a definition of the structure of the data, and you do not have to create the fields yourself.ASKER
ASKER
Visual Basic .NET (VB.NET) is an object-oriented programming language implemented on the .NET framework, but also supported on other platforms such as Mono and Silverlight. Microsoft launched VB.NET as the successor to the Visual Basic language. Though it is similar in syntax to Visual Basic pre-2002, it is not the same technology,
TRUSTED BY
http://mobile.experts-exchange.com/Database/Miscellaneous/A_1517-UPDATES-with-JOIN-for-everybody.html
For the second part, what part is the problem?