This is because I am sorting the way the data is shown and not merely the data itself. So, it flickers. Rather than that, sort the Data in the DataTable using the
DataRow[] rows = DataTable.select(filterexpression, sortVariable);
//make sure the filterexpression="", to select all rows else if you want certain rows, write a filterexpression that does the filtering. //sortVariable to be a column of the DataTable
then import the rows to another temp table and source that to the CheckedListBox
Then the flickering or flashing of the Data Stops.
Yash
2010-07-13 19:26:35