remove the oldest rows beyond a predefined size from a DataTable

  • Thread starter Thread starter Avi
  • Start date Start date
A

Avi

Hi all,



I would like to remove the oldest rows beyond a predefined size from a
DataTable. Is it possible to remove a bulk of rows in one shot or do I have
to loop and do a DataTable.Rows.RomoveAt(0)



Thanks,

Avi
 
Avi,

What is against looping, it is the basic way microcomputers work.

When there is one method, then you can be sure that it is looping after the
scene.

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top