title: Display row numbers in Wpf Listview
body: <p>I have a listview that is being created from a sql server database, how do you include the row numbers?</p>
  
  <pre><code>            &lt;ListView x:Name="lstName" Height="400" Canvas.Top="55" Width="450"&gt;
                  &lt;ListView.View&gt;
                      &lt;GridView&gt;                     
                          &lt;GridViewColumn Header="Number" Width="auto" 
                           DisplayMemberBinding="{Binding Path=Id}" /&gt;
                          &lt;GridViewColumn Header="FirstName" Width="auto" 
                           DisplayMemberBinding="{Binding Path=FName}" /&gt;
                          &lt;GridViewColumn Header="LastName" Width="auto" 
                           DisplayMemberBinding="{Binding Path=LName}" /&gt;
                          &lt;GridViewColumn Header="StreetAddress" Width="auto" 
                           DisplayMemberBinding="{Binding Path=Street}" /&gt;
                          &lt;GridViewColumn Header="City" Width="auto" 
                           DisplayMemberBinding="{Binding Path=City}" /&gt;
                          &lt;GridViewColumn Header="State" Width="auto"
                           DisplayMemberBinding="{Binding Path=State}" /&gt;                       
                      &lt;/GridView&gt;                        
                  &lt;/ListView.View&gt;
              &lt;/ListView&gt;
  </code></pre>