Move DataRow to Top of DataTable

G

Guest

Hi. Excuse me if this is a simple question, but I can't seem to figure it out.

Can a specific datarow within a datatable be moved to be the first datarow
of the datatable? For example - If I have a datatable with 30 rows, how
would I move row# 10 the the first row?

Thanks,
Mike
 
C

Cor Ligthert [MVP]

Mike,

The datatable reflects in fact the database, you can use the dataview to
rearange your rows.

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

Top