title: Embed aspx web page content into another web pages
body: <p>I have built an ASP.NET 2.0 application where I have an aspx page which contains a GridView with some data that I would like to embed into another application, just like you do with YouTube videos. I have never done this before and I have no idea on how to proceed. 
  I could use your suggestions on how to do this. Thanks a lot!</p>
  
  <p><strong>Later Edit :</strong> I managed to embed the whole page using an <code>iframe</code> </p>
  
  <p><code>"iframe  id="SndIFrame" runat="server" scrolling="auto" width="100%" height="550px"</code> </p>
  
  <p>and in code behind I set the src attribute </p>
  
  <p><code>SndIFrame.Attributes["src"] = "mypage.aspx"</code></p>
  
  <p>But now the problem is that I do not want to show the whole page, but only the gridview inside it. Is there a way to do this? And also how should I send the credentials for login as default parameters?</p>