Answers for "initi datatable after delete row"

C#
1

datatables remove showing 1 of 1 entries

"info": false,
"paging": false,
Posted by: Guest on August-07-2021
2

c# remove rows from datatable

for(int i = dtPerson.Rows.Count-1; i >= 0; i--)
{
    DataRow dr = dtPerson.Rows[i];
    if (dr["name"] == "Joe")
        dr.Delete();
}
dtPerson.AcceptChanges();
Posted by: Guest on August-25-2020

C# Answers by Framework

Browse Popular Code Answers by Language