+ Start a Discussion
Vijay sidaraddiVijay sidaraddi 

​How to dispaly multiple objects data in to VF page from an two different objects

Hi
I have object A which is having ten fields data also i have another object which is Object B  but i want to full column A,and ColumnB data   to Vf page  to display both te objects data is this is possible through SOQL ..

as per my understand i can display data using SOSL, is there any possibilities to display multiple objects data into a VF page..

Cheers!!
Vijay S
Best Answer chosen by Vijay sidaraddi
@Karanraj@Karanraj
If you want to combine two different objects in a single table and display in a visual force page then use Wrapper class to combine two objects and display in your visual force page. Check this sample post to get start 
1. https://www.interactiveties.com/blog/2012/visualforce-wrapper-class.php
2. http://bobbuzzard.blogspot.co.uk/2010/09/rotating-visualforce-table.html
3. https://developer.salesforce.com/page/Wrapper_Class

All Answers

@Karanraj@Karanraj
If you want to combine two different objects in a single table and display in a visual force page then use Wrapper class to combine two objects and display in your visual force page. Check this sample post to get start 
1. https://www.interactiveties.com/blog/2012/visualforce-wrapper-class.php
2. http://bobbuzzard.blogspot.co.uk/2010/09/rotating-visualforce-table.html
3. https://developer.salesforce.com/page/Wrapper_Class
This was selected as the best answer
Vijay sidaraddiVijay sidaraddi
Thanks lot for recalling wrapper class..