Most objects are passed by reference by default (at least in C#) and a DataRow is an object, so it's passed by reference (things like int and string are passed by value, unless you specify the "ref" keyword). What this means is that whatever changes you make to it in the modal form are already there in the calling class, so basically you don't have to do anything!
~~Bonnie
>Hello Bonnie, great help!
>
>I will pass the DataRow to the modal form and then I will do the binding in the modal form. Now, How do I pass back the DataRow ?. Once I pass back the changed DataRow, I guess I will have to update the DataSet that is bind to the DataViewGrid.
>Is the logic right??
>
>Thanks