title: "Object reference not set to an instance of an object " during extract value from database
body: <pre><code>public ActionResult updateisrc()
          {
              AlbumSongModel s = new AlbumSongModel();
              List&lt;mainISRC&gt; listalbum = Class1.GetAllAlbum();
  
              s.listalbum = listalbum.Select(x =&gt; new SelectListItem   **
              {
                   Value = x.Album.ToString(),    
                   Text = x.Album
              });
  
              return View("updateisrc", s);
          }
  </code></pre>
  
  <p>I have marked as "**" the line I am getting error. Please help me</p>