I have a multiple check boxes in my Windows forms. Based on the Selection of this checkbox i have Called the Stored procedure with corresponding arguments then i have looping the query result and assigned that result into collection object. Finally i have assigned that Collection to DataGridView control as datasource. That time it takes too much time to binding the Datasource.
Assume, if one checkbox is in unchecked. if i'm going to Check that checkbox, that time i have doing the above mentioned process within that CheckedChanged event itself. So, upto the above process is getting completed the checkbox is in unchecked mode. After completing the biding process only that checkbox getting Checked.
How to resolve this?
I want to immediately display the checkbox as checked in display.