title: Cannot implicitly convert type 'System.Linq.IQueryable<Apps.Model.Applicant> to 'Apps.Model.Applicant'. An Explicit conversion Exists ASP.NET MVC3
body: <pre><code> public ViewResult Index(string currentFilter, string searchString, int? page)
      {
          if (Request.HttpMethod == "GET")
          {
              searchString = currentFilter;
          }
          else
          {
              page = 1;
          }
          ViewBag.CurrentFilter = searchString;
  
  
          var connString = ConfigurationManager.ConnectionStrings["ApplicantDB"].ConnectionString;
          List&lt;Applicant&gt; instructors = new List&lt;Applicant&gt;();
          using (var conn = new SqlConnection(connString))
          {
              conn.Open();
  
  
               var query = new SqlCommand("SELECT TOP 50 APPLICANT_ID, APPLICANT_Lastname, APPLICANT_FirstName, APPLICANT_MiddleName, APPLICANT_Address, APPLICANT_City"+
                      " FROM APPLICANT", conn);
  
              var reader = query.ExecuteReader();
  
              int currentPersonID = 0;
              Applicant currentInstructor = null;
  
  
              while (reader.Read())
              {
                  var personID = Convert.ToInt32(reader["APPLICANT_ID"]);
                  if (personID != currentPersonID)
                  {
                      currentPersonID = personID;
                      if (currentInstructor != null)
                      {
                          instructors.Add(currentInstructor);
                      }
  
  
                      currentInstructor = new Applicant();
                      currentInstructor.APPLICANT_ID = Convert.ToInt32(reader["APPLICANT_ID"].ToString());
                      currentInstructor.APPLICANT_Lastname = reader["APPLICANT_Lastname"].ToString();
                      currentInstructor.APPLICANT_FirstName = reader["APPLICANT_FirstName"].ToString();
                      currentInstructor.APPLICANT_MiddleName = reader["APPLICANT_MiddleName"].ToString();
                      currentInstructor.APPLICANT_Address = reader["APPLICANT_Address"].ToString();
                      currentInstructor.APPLICANT_City = reader["APPLICANT_City"].ToString();
  
  
                  }
                  if (!String.IsNullOrEmpty(searchString))
                  {
  
                      currentInstructor = instructors.AsQueryable().Where(s =&gt; s.APPLICANT_Lastname.ToUpper().Contains(searchString.ToUpper())
                                             || s.APPLICANT_FirstName.ToUpper().Contains(searchString.ToUpper()));
                  }
              }
              if (currentInstructor != null)
              {
                  instructors.Add(currentInstructor);
              }
  
              reader.Close();
              conn.Close();
          }
  
          int pageSize = 10;
          int pageNumber = (page ?? 0);
          return View(instructors.ToPagedList(pageNumber, pageSize));
  
      }
  </code></pre>
  
  <p>Error in this Line </p>
  
  <pre><code> if (!String.IsNullOrEmpty(searchString))
                  {
  
                      currentInstructor = instructors.AsQueryable().Where(s =&gt; s.APPLICANT_Lastname.ToUpper().Contains(searchString.ToUpper())
                                             || s.APPLICANT_FirstName.ToUpper().Contains(searchString.ToUpper()));
                  }
  </code></pre>
  
  <p>This is the first time i encountered this type of error . . 
  I wasted almost 2 hours in this kind of error
  I hope someone can help me in this situation. . advance thank you for those who are willing to help. . So much appreciated :) KUDOS !!</p>