Answers for "remove datatable"

0

remove previous datatable instance

//Destroy the old Datatable
$('#equictntbl').DataTable().clear().destroy();
Posted by: Guest on November-11-2020
1

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

Code answers related to "Javascript"

Browse Popular Code Answers by Language