BindingSource, Dataset and BindingNavigator, problem: DataMember property 'RECORD' can
Code:
***
this.dataSet1 = new System.Data.DataSet();
***
this.bindingNavigator1.BindingSource = this.bindingSource1;
***
this.bindingSource1.DataSource = this.dataSet1;
this.bindingSource1.DataMember = "RECORD";
this.bindingSource1.Position = 0;
this.dataSet1.DataSetName = "MyDataBase";
this.dataSet1.ReadXml(@"***\TheData.xml");
so far it runs fine and the move buttons from the bindingnavigator are moving from 1-3 (i have 3 records in the xml file)
The problem occured when i added this line:
this.textBox1.DataBindings.Add(new System.Windows.Forms.Binding("Text",this.bindingSource1,"RECORD.LASTNAME",true));
It thows this exception"DataMember property 'RECORD' cannot be found on the DataSource."
Does anyone know whats causing the exception?
Thanx in advance!

