Dharmesh Sharma

Dharmesh Sharma

  • NA
  • 905
  • 927.2k

How to bind two table in gridview in asp.net

Jan 2 2012 3:52 AM
 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)