By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,081 Members | 1,229 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,081 IT Pros & Developers. It's quick & easy.

Move DataRow to Top of DataTable

P: n/a
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
Apr 19 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Mike,

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

Cor

"Mike" <Mi**@discussions.microsoft.comschreef in bericht
news:1E**********************************@microsof t.com...
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

Apr 20 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.