I was hoping that someone could assist me in the following.

I have created a dataset in c# and have bound this to a datagrid and I want to delete a row in the datatable in the dataset.

I know how to add a row to the dataset but am unsure of how to delete a row. I want to delete a row by using the unique ID number but I am unsure of how to do this.

Can I use the indexof operator to obtain the index of the row in the datatable?

I am not using an adapter as the datasource is based on xml.

I would be grateful of any advice.