Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New row in DataGridView move to the top..?

Status
Not open for further replies.

Plato2

Programmer
Dec 6, 2002
192
US
I have a DataGridView control and I have a new row entry at the bottom of the DataGridView...How can I move new entry row to the top of the grid?

Thanks in advance
 
From the VS help:

"The DataGridView control supports this functionality by providing a row for new records, which is always shown as the last row."

You could use the virtual mode of the DataGridView, which may allow you to use the first row as the new row, but you would need to code all that manually.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top