Retain selection in datagridview

Posted on 2016-09-30
Medium Priority
Last Modified: 2016-11-01
How can I retain the selection in datagridview after adding a new row to it?

Question by:RIAS

Accepted Solution

Rekha 41 earned 2000 total points
ID: 41823289
After update , you clear the selection of datagridview like this


and then select the row which you want to focus.

Author Comment

ID: 41823540
Its not one row.It is selection of rows.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
SingleRun is a tool that ensures that only one instance of an application is started, running it again brings the application to focus.
Hi, this video explains a free download that you can incorporate into your Access databases, or use stand-alone for contact management. Contacts -- Names, Addresses, Phone Numbers, eMail Addresses, Websites, Lists, Projects, Notes, Attachments…
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…

586 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question