Jes Sie

Jes Sie

  • 743
  • 1.2k
  • 279.9k

Dynamically Populating Multiple Gridview Data Based on Condition

Aug 23 2024 4:38 AM

Hello everyone, I'm facing another challenge again. This time, I have a table in my database with the following data:

Each row in the image contains multiple rows, as shown below for the case of A:

Now, the requirement is that whenever a user selects a checkbox, the data of A or B or A and B will be stored in a gridview. So, this is what I did:

The problem is that it only displays the first row of the data inside the A or B, or A and B as shown below:

What I want is to display all rows of each selected checkbox. Any assistance is highly appreciated. Good morning everyone.


Answers (1)