How to show data in a DetailsView using a query string from anotehr page
<p>I have a page A with an EDIT LINK. When click it sends a parameter to a second page B, which contains a DetailsView in Edit mode.
Page B take care of editing the details.</p>

<pre><code>A.aspx?AuthorId=89
</code></pre>

<p>My problem is: I am not able to visualize the Right AuthorId passed from page A.aspx in the DetailsView in B.
What I am missing? Please if you have send me a link with some tutorials. Thanks for your time!</p>

<p>Here code for DetailsView -----------</p>

<pre><code>&lt;asp:DetailsView ID="DetailsView1" runat="server" AutoGenerateRows="False" 
    DataKeyNames="AuthorId" DataSourceID="EntityDataSource1" Height="50px" 
    Width="125px" DefaultMode="Edit"&gt;
    &lt;Fields&gt;
        &lt;asp:BoundField DataField="AuthorId" HeaderText="AuthorId" ReadOnly="True" 
            SortExpression="AuthorId" /&gt;
        &lt;asp:BoundField DataField="UserId" HeaderText="UserId" 
            SortExpression="UserId" /&gt;
        &lt;asp:BoundField DataField="FirstName" HeaderText="FirstName" 
            SortExpression="FirstName" /&gt;
        &lt;asp:BoundField DataField="LastName" HeaderText="LastName" 
            SortExpression="LastName" /&gt;
        &lt;asp:BoundField DataField="NoteInternal" HeaderText="NoteInternal" 
            SortExpression="NoteInternal" /&gt;
        &lt;asp:BoundField DataField="ContentAuthor" HeaderText="ContentAuthor" 
            SortExpression="ContentAuthor" /&gt;
    &lt;/Fields&gt;
&lt;/asp:DetailsView&gt;
</code></pre>
