Hi..
I m using xamdatagrid.Here i m displaying data using xmldataprovider.
Here i can update the record also.now i want to use the active record values in another window.
i am able to get the active record cell values also.
If i want to use this active record cell values in another window..i m not able to do it..
Please give reply for this.
thank u in advance..
Hello,
Can you please provide more information on how you use the active record cell values and where exactly seems to be the problem?
You should be able to open a new Window like this:
xamDataGrid1.ActiveRecord = xamDataGrid1.Records[0]; // set currect record just in case
Window2 w = new Window2();
w.Show(); // show window
And then, in the Window2 I can edit the first cell value of this record like this:
((Application.Current.MainWindow as Window1).xamDataGrid1.ActiveRecord as DataRecord).Cells[0].Value = textBox1.Text;