Problem
I need to search by ClassID,SectionID,InstructorID DROPDOWNLISTS and i can have options if one drop down have null value or not
search i need is (classID =NULL OR NOT)AND (sectionid =null or not)AND(InstructorID=Null or not)
I only can search by one drop down menu InstructorID BUT SECTIONID,ClassID Dropdown how to do that .
I have Model schedules as following :
This schedule model have foreign key for more tables as Class,Section,Instructor,Calender
All these tables have relations with table schedule
I need to get data from schedule based on ClassID,SectionID,InstructorID DROPDOWNLISTS
But i cannot do search by multiple fields
I only can search by InstructorID FIELD
What I try
Index action inside schedule controller
code below working but only InstructorID Drop down not all drop down