How can I delete a row from a datatable using C#?
How can I delete a row from a datatable using C#?
3022
22-Oct-2013
Royce Roy
22-Oct-2013Hey Takeshi!
You can use below line of code for resolve your problem.
var dataTableRows = dataTable.Select("Write condition to select the DataTable Row which you want to delete");dataTableRows.ForEach((r) => r.Delete(););
dataTable.AcceptChanges();