How to get the index selected in the datagrid table which contains the employees table information ,on getting the index who to update the record at that index in to other table
//---------then you can use bindingManagerBase.Position to get row from
DataTable. Better to get row form DataView, because rows in DataGrid
can be sorted, filtered and etc...
void SomeMethod()
{
dataTable1.DefaultView[bindingManagerBase.Position]["column1"] = 6;
}