VB.Net - DataGridView Design Question

Good Day Experts!

I have more of a design type "opinion" question.  

I have a DataGridview that I load with records from a SQL table.  The User can then select multiple rows and right-click to execute functionality on those selected rows.  

When the code is done and I reset the cursor back, how would you display the DataGrid?
Would you leave the rows selected or deselect and put get that little black arrow on the left back to the top next to the first row?

Thanks,
jimbo99999
Jimbo99999Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
CodeCruiserConnect With a Mentor Commented:
Depends on what the action is and what the workflow is. Would the user want to do something else on same rows after finishing what they did? Or would they want to do something else. I think this will be the basic deciding factor.
0
 
John (Yiannis) ToutountzoglouInstructor Multiengine PilotCommented:
and I reset the cursor back....
If you reset the cursor back the multiselection ends..and a single row is selected
0
 
Jimbo99999Author Commented:
Sorry, I meant the mouse cursor I reset back from the hourglass.
0
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.

 
Jimbo99999Author Commented:
They would be done with the action on the rows.
0
 
CodeCruiserCommented:
Then I would deselect the rows or provide a button which does that.
0
 
Jimbo99999Author Commented:
Ok, I have it part way:

dgrdGetBills.ClearSelection()
dgrdGetBills.Rows(0).Selected = True

Problem is that little black arrow in the left margin of the grid, how do I make that go to the first row like the selection?

Thanks,
jimbo99999
0
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.

All Courses

From novice to tech pro — start learning today.