How to display 2 tables in a single line in 2 div tag

Posted by Klbaiju under Bootstrap on 3/18/2021 | Points: 10 | Views : 3044 | Status : [Member] | Replies : 1
Hi,

In my application I have 2 tables and to display in single line.

how it is possible.

first table has 30 columns and second one has 6 columns.

how it is possible

Regards

Baiju




Responses

Posted by: Poster on: 3/20/2021 [Member] Starter | Points: 25

Up
0
Down
There are multiple scenrios

Approach 1
When the rows of both tables are same.
- Create a parent table with two columns
- Put first table with 30 columns into 1st column of the parent table
- Put second table with 6 columns into 2nd column of the parent table

Approach 2
Create a target table like System.Data.DataTable with both tables by joining both tables data and then render the target table that will have both tables data.

Klbaiju, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response