Hey,

In my application, I have to manipulate the XML file in the dgv, which
is bounded by DataSet. E.g. move the selected row in the dataTable "p"
which is in the DataGridView dgv "up" and "down", then save it to the
DataSet. Can you give me a hand with it? Or do you have any code
samples to make it in C# or some language related? The code that I am
thinking about now is,

dv = new DataView(dataSet.Tables["p"]);
dgv.DataSource = dv;

However, I don't know how to move the selected row.

Thanks in advance,

Best Wishes,