Posted on: 12/29/2013 2:35:10 PM | Views : 589

hi to all.. i created a data table called subtable by using union query (from 2 tables)...  in that i have only one column it has some  id's...  and i have a table in database called  main table in that only all the id's and other datas are there.. now i want to bind the datas from main table to new data table for corresponding id's in subtable... where i want to pass the id's from subtable by using for loop and some if conditions to check whether the id in subtable is there in main table or not , and then i want to bind the data in tat new data table.... im so confused any one help me.. post me some code formats......

Go to the complete details ...