Jaima Joseph

Jaima Joseph

  • NA
  • 94
  • 107.8k

How to show two different table views in a view in MVC?

Jan 14 2014 5:24 AM

Hi,Can anyone help?I have a table with many records which are having 'Approved' column value  either 'true' or 'false'. I want to show all the records with Approved column value 'true' in a table and all the records with Approved column value 'false' in another table in the same view. I have two vertical tabs 'Approved' and 'Not Approved'. On click of Approved tab, I want to Show the Approved records table and on click of 'Not Approved' I want to show the not approved records table. Please tell me how to pass these two set of records from the controller to the same view? Is that possible?

Thanks in advance.
 


Answers (1)