Displaying data from one page to another
<p>I have a page (default.aspx) with a Repeater fetching data from my database, this is the layout for the Repeater:</p>

<p><strong>default.aspx:</strong></p>

<pre><code>&lt;asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='&lt;%# Eval("Id","~/fullpost.aspx?Id={0}") %&gt;'&gt;&lt;asp:Literal ID="LitTitle" runat="server" Text='&lt;%# Eval("Title") %&gt;'&gt;&lt;/asp:Literal&gt;&lt;/asp:HyperLink&gt;
                            &lt;br /&gt;
                            &lt;span class="textSum"&gt;
                                &lt;asp:Literal ID="LitSummary" runat="server" Text='&lt;%# Eval("Summary") %&gt;'&gt;&lt;/asp:Literal&gt;&lt;/span&gt;
                            &lt;span class="dateTime"&gt;
                                &lt;asp:Literal ID="Literal1" runat="server" Text='&lt;%# Eval("CreateDateTime") %&gt;'&gt;&lt;/asp:Literal&gt;&lt;/span&gt;
</code></pre>

<p>Notice the hyperlink now, it directs to <strong>fullpost.aspx</strong>, On this page I want to display only that one item I clicked (the URL is being pointed right, it goes to <strong>fullpost.aspx?Id=<em>IdNumber</em></strong>), so I tried the following:</p>

<p><strong>fullpost.aspx:</strong></p>

<pre><code>&lt;asp:Literal ID="Literal1" runat="server" Text='&lt;%# Eval("Title") %&gt;'&gt;&lt;/asp:Literal&gt;
        &lt;asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="&lt;%$ ConnectionStrings:orangefreshConnectionString1 %&gt;" 
            SelectCommand="SELECT [Id], [Title], [Summary], [Body], [CreateDateTime] FROM [Post] WHERE ([Id] = @Id)"&gt;
            &lt;SelectParameters&gt;
                &lt;asp:QueryStringParameter Name="Id" QueryStringField="Id" Type="Int32" /&gt;
            &lt;/SelectParameters&gt;
        &lt;/asp:SqlDataSource&gt;
</code></pre>

<p>But my literal is not displaying the Title as I want it to, nothing shows up. What exactly am I doing wrong here?</p>

<hr>

<p>After adding the data bound control:</p>

<pre><code> &lt;asp:FormView ID="FormView1" runat="server" DataSourceID="SqlDataSource1"&gt;
        &lt;asp:Literal runat="server" Text='&lt;%# Eval("Title") %&gt;'&gt;&lt;/asp:Literal&gt;
    &lt;/asp:FormView&gt;
</code></pre>

<p>I'm now getting:
<em>Parser Error Message: Type 'System.Web.UI.WebControls.FormView' does not have a public property named 'Literal'.</em></p>
