Click here to Skip to main content
15,895,740 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
I have three tabs in my win form application based on which the datagridview is displayed.
I want users to select row using checkbox across the datagridviews of these three tabs so that I can delete the data at one go instead of doing it three times.
How can I maintain checkbox status across these three datagridviews. Is there any way to achieve this?
Posted
Comments
Sinisa Hajnal 27-Apr-15 6:13am    
You could keep id list in separate object...or merge the rows into one "delete table" which again is keeping the list in separate object.

If your datagridviews show the data from the same table, just for different filters, then have all DGVs have DataView based on your conditions as datasource and underlying data source is single table for all three DGVs.
Abdul Samad KP 3-May-15 3:19am    
How are you binding your grids, from a data table? What is the relationship between the grids?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900