Datagrid select all and deselect

  • Thread starter Thread starter Dale
  • Start date Start date
D

Dale

Does anyone know how to select all of the items in a
datagrid and then how to deselect all items in a datagrid.

Thanks in advance!

Dale
 
Dale,

There is no direct way to do this. You will need to iterate through all rows to
select them all and do the same thing to unselect them.

Hope this helps!
Bharat Patel
Microsoft, Visual Basic .NET

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. Thanks.
 

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

Similar Threads

Access Textbox - Hide Cursor 0
Deselect all controls 7
Windows 10 Itunes/TabKey 0
ListView prevent deselect 1
Listview deselect all 4
Creating a Select/Deselect all checkbox in a datagrid 1
Datagrid update 3
Datagrid and dropdown list 8

Back
Top