Hi everyone. next question. I constructed a table, and added it to a datagrid.

Pseudocode:

// Create table.
// Add values
DataGrid.DataSource = DataTable;


It is working fine. I'm getting information to add. However, when I move to delete I want to get the selected index that the user selected. Does anyone know how to do this?

Where do I get the selectedindex from, the datagrid or the table?

Jennifer