How to Generate Serial No in Lambda Expression
<pre><code>grvResults.DataSource = Infoware.StudentModules
        .Where(x =&gt; x.AdmissionNo == AdmissionNo &amp;&amp; x.Status != "Pending")
        .Select(x =&gt; new NewResults { 
                                       SlNo = ---, 
                                       ModuleCode = x.ModuleCode, 
                                       ModuleDescription = x.Module.ModuleDescription, 
                                       Score = x.Score, 
                                       Status = x.Status })
         .ToList();
</code></pre>

<p>Here I have gridview with autogenerated columns and I need to Generate
Serial No.</p>

<p>What should I write here "SlNo = ---" in lambda expression in order to generate serial no.</p>