title: Use same DataGridView in multiple pages
body: <p>I have two aspx pages:</p>
  
  <ol>
  <li><p><strong>DashboardPreview.aspx:</strong> This is the homepage. It shows <strong>top 5 dashboards</strong> in a DataGridView. It shows other information too.</p></li>
  <li><p><strong>DashboardList.aspx:</strong> It shows <strong>all the dashboards with pagination</strong> in a DataGridView.</p></li>
  </ol>
  
  <p>There are several controls available for each dashboard (i.e. for each row of the DataGridView). For example: a dashboard can be "edited" and "shared" with other users.</p>
  
  <p>I would like to code the DataGridView <strong>only ONCE</strong>.</p>
  
  <p>Then, I would like to use that code in both the pages. How do I do it?</p>
  
  <p><em>Note: I create DataGridView by dragging and dropping it from Toolbox of Visual Studio i.e. I did not code the entire thing myself. However, I did create controls like "Share" button myself.</em></p>