title: Pass values between page navigation
body: <p>I have an autogenerated <code>DataGrid</code>, which gets populated after calling a service that binds it to the results from the SQL server. I have a <code>Hyperlink</code> button on the rows too to navigate to a new page <code>Details.xaml</code>. I want to know how can I pass the values of different columns like <code>pkProductID</code>,<code>productName</code> of my grid to a new page <code>Details.xaml</code>?</p>
  
  <p><strong>DataGrid on my Home.xaml page</strong></p>
  
  <pre><code>&lt;sdk:DataGrid AutoGenerateColumns="True" HorizontalAlignment="Left" Height="163" VerticalAlignment="Top" Width="380" Margin="10,59,0,0" Grid.Row="2" Grid.Column="1" Name="ProductGrid"  Visibility="Collapsed"&gt;
          &lt;sdk:DataGrid.Columns&gt;
              &lt;sdk:DataGridTemplateColumn Header="Hyperlink"&gt;
                  &lt;sdk:DataGridTemplateColumn.CellTemplate&gt;
                      &lt;DataTemplate x:Name="gridTemplate"&gt;
  
                           &lt;StackPanel Orientation="Vertical" VerticalAlignment="Center"  &gt;
                          &lt;HyperlinkButton Content="Hyperlinkbutton" Tag="Hyperlinkbutton" HorizontalAlignment="Center" NavigateUri="/Details" /&gt;
                          &lt;/StackPanel&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/sdk:DataGridTemplateColumn.CellTemplate&gt;
              &lt;/sdk:DataGridTemplateColumn&gt;
          &lt;/sdk:DataGrid.Columns&gt;
  &lt;/sdk:DataGrid&gt;
  </code></pre>
  
  <p><strong>Edited- Here is Home.xaml.cs that contains the result of rows returned. I have used linq to Sql classes (sharing becuase I thought this might help)</strong></p>
  
  <pre><code>public void webService_GetProductsCompleted(object sender, ServiceReference1.GetProductsCompletedEventArgs e)
  {
   ProductGrid.ItemsSource = e.Result;           
  }
  </code></pre>