How to insert a row at the top of the datagrid?

B

BVM

Hi:

I have a problem to insert a row at the top of the datagrid. In the data table (the datasource of the datagrid), no matter I insert the datarow at 0 or rows.count-1 position, the new row always appear at the bottom the datagrid, but I want it appear on the top. How can I do it?

Thanks,

Dennis Huang
 

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