title: how to pass values from one view to another view
body: <p>am very new to ASP.NET USING MVC Controllers...so here is my scenario.Am developing an Online Admission system where students come and fill in their required records to be processed for admission.I have different classes that holds specific information about the student.My student class is:</p>
  
  <pre><code>public class Student
  {
      public int ID { get; set; }
      [Required]
      public string NAME { get; set; }
      [Required]
      public string FIRSTNAME { get; set; }
      [Required]
      public string LASTNAME { get; set; }
      public virtual ICollection&lt;Enrollment&gt; Enrollments { get; set; }
  }
  </code></pre>
  
  <p>I have another class called Enrollments where the user Enters all the courses as well as the Grade </p>
  
  <pre><code>public class Enrollment
  {
      public int EnrollmentID { get; set; }
      public int CourseID { get; set; }
      public int StudentID { get; set; }
      public Grade Grade { get; set; }
      public virtual Student Student
      {
          get;
          set;
      }
      public virtual Course Course { get; set; }
  }
  public enum Grade
  {
      A,B,C,D,E,F
  }
  }
  </code></pre>
  
  <p>AND different more classes.I HAVE A CONTROLLER called Registration, where i will create the views for each Classes.</p>
  
  <p>SO IN my first View which takes all the student Details,after the Record has been saved.
  when the user Clicks next,i want to pass the ID number of the student class to my next view which is the Enrollment View and save the records along with the ID number of the student class which is acting as a foreign key in the enrollment class and database.</p>
  
  <p>Have been trying so hard 2 implement this but with no success.I would appreciate a simple example to demonstrate how to achieve this because am not too good using the mvc framework as i recently started using ASP.NET.</p>