Last post Jan 07, 2011 06:58 AM by ss6
Jan 05, 2011 08:01 AM|ss6|LINK
I want to retrieve data from MySql database and display it in gridview in asp.net.I want to retrieve data from two tables which has no common fields to link.Is there any possible way to display in gridview?
Plz reply asap..
Jan 05, 2011 08:27 AM|tehremo|LINK
Jan 06, 2011 07:21 AM|hemant.yadav|LINK
TO join the records from two table you must need to put one common field by which you can identify it
Without joining you can not display 2 table data in one gridview.
So put one identical colom in anyone of these table and join it with that colom.
Jan 07, 2011 06:58 AM|ss6|LINK
thanks alot.it worked.