Below code is showing some data from database, here in each row there is a checkbox having name of primaryid from database ..and when user click less than then 5 checkboxes a alert appear as show all the code is working .but Below code is showing some data from database,