djsqi

Where is the documentation for the datarelationcollection's add method which states that the name of the added datarelation object is the concatenation of the Master Table's name & . & the name parameter

Dim ds As DataSet = New DataSet

ds.Relations.Add("Orders_CustomerID", ds.Tables("Master").Columns("CustomerID"), ds.Tables("Orders").Columns("CustomerID"))

DataGridFilteredData.DataSource = ds

DataGridFilteredData.DataMember = "Master.Orders_CustomerID"

Where is the documentation for datarelation object naming when the name parameter in datarelationcollection's add method is omitted




Re: Windows Forms General datarelationcollection add method - name parameter