getting chkbox value from datagrid

W

wink martindale

Hello,

I have a datagrid (this is a windows app) with a checkbox column
(thanks again for the help on that!)
I want the user to be able to select several records from the datagrid
(by checking the checkboxes) and then have the datagrid display just
those records.
How do I capture the which checkboxes are checked??

TIA,

Wink
 
C

Cor Ligthert [MVP]

Wink,

I see that I missed this one.

It should be real very easy.

A datagrid has forever a datasource which is normally a datatable.

If you than set or reset the rowfilter in the defaultview of the table. Than
it will be showed as you wish.

Don't forget to do before setting the rowfilter an endcurrentedit.

If this is not clear, than reply and I make a simple sample *tomorrow* and
put it on our website.

I hope this helps,

Cor
 

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