Either pass the DataSet into your DialogForm when you instantiate it, or set a property after you instantiate it.
MyDialogForm oForm = new MyDialogForm(this.MyDataSet);
or
MyDialogForm oForm = new MyDialogForm();
oForm.MyDataSet = this.MyDataSet;
oForm.ShowDialog();
~~Bonnie
>Hey folks!
>
>I'm just wondering what's the equivalent of VFP Form Datasession property in .NET Win Forms coz I can't display the information of the record I retrieved from the calling form in a Dialog form?
>
>In VFP, I used to display minimal info of records retrieved in a list mode using grids in a form then call a dialog form to display the complete info. Is this possible in .NET Win forms?