Hey, I need detect amount rows in gridview. e.g I adds (select dropdownlist max 30) 20 records to database at max 30. who i can add. Now, if i would like add next record , in my select dropdown list should have max 10 records no 30 to choose.
Dropdownlist begin(max 30, but i can choose 20 too)
if i choose 20, so no i can only choose 10 because 30-20=10