3
Answers

How to bind two table in gridview in asp.net

Dharmesh sharma

Dharmesh sharma

13y
16.5k
1
 hello,

i want to bind two table in gridview and both table are same

the problme is my database is not correct developed so i have only one solution is i have pass value by c# code in my query and get one by one table its good working for me

I dont have permission to change database any thing
so i just do my best effort in my c# code

now

i have two or more table save column

like

table1
jan  feb  mar  ............................dec



table2

jan   feb  mar  .........................dec



so how i bind these two table in one gridview

or we can do if we add these two table in one dataset its possible

so give me idea

thanks



Answers (3)