I have created an application For grouping. i am accessing data from 4 tables in one datatable by performing union
and seperating them by adding one extra column of tablenames.
and i want to display that 4 tables in 4 groups.
It is showing it clearly when each table have only one row.
but when i insert new row in any of 4 table then 2 groups are created for that table.
Please help me to solve this problem.
i have attached data that im fetching from db and image of result
please reply me