> oDS.XMLFileToDataSet(Path.Combine(oUtils.GetAppPath(), "Workorders.xml")) oDS.XMLFileToDataSet(Path.Combine(oUtils.GetAppPath(), "Assets.xml")) oDS.oData.Relations.Add("assettowork", _ oDS.oData.Tables("assets").Columns("assetid"), _ oDS.oData.Tables("workorders").Columns("assetid")) 'Displays 1 MessageBox.Show(oDS.oData.Relations.Count.ToString()) 'Bind the asset list to the assets ids LstAssets.DataSource = oDS.oData.Tables("assets") LstAssets.DisplayMember = "assetid" 'Bind the work orders listbox to workid LstWO.DataSource = oDS.oData.Tables("workorders") LstWO.DisplayMember = "workid" 'Bind the lable to show the description of the asset LblAssetDesc.DataBindings.Add(New Binding("Text", oDS.oData.Tables("assets"), "asset_desc")) 'Bind the text box for entering works description TxtWoDesc.DataBindings.Add(New Binding("Text", oDS.oData.Tables("workorders"), "work_desc")) <>