Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
270
Adding Child Records
posted

How can I add childrecords in run-time? I tried to use a dataset object as datasource. The dataset contained the two tables (parent and child) and the relation. I learnt it in a sample of XamDataGrid. I used views, but no tables.

I also tried to use a DataSet filled by a SqlDataAdapter from a SqlConnection. And then, in the RecordExpanding event, change the datasource of the DataPresenter of the e.Record (that comes in the event). 

 How can I do?

 Thanks