title: gridview to formview - formview not showing any data
body: <p>I have a gridview where, if you select a row, it takes you to a formview where you can view details from that entry and edit the data.  This worked when I had only one filter parameter, but I added another, and now the formview is showing up blank.  Here's my code:</p>
  
  <pre><code>&lt;asp:AccessDataSource ID="courseinfo" runat="server" DataFile="~/App_Data/courseinfo.mdb" SelectCommand="SELECT [prefix], [course_number], [title], [date_submitted] FROM [tableCourse]"&gt;
  &lt;/asp:AccessDataSource&gt;
  
  &lt;asp:AccessDataSource ID="courseinfo2" runat="server" DataFile="~/App_Data/courseinfo.mdb" FilterExpression="prefix='{0}' AND course_number='{1}'" SelectCommand="SELECT * FROM [tableCourse]"&gt;
   &lt;FilterParameters&gt;
    &lt;asp:ControlParameter Name="prefix" ControlID="GridView1" PropertyName="SelectedValue" /&gt;
    &lt;asp:ControlParameter Name="course_number" ControlID="GridView1" PropertyName="SelectedValue" /&gt;
   &lt;/FilterParameters&gt;
  &lt;/asp:AccessDataSource&gt;
  
  &lt;asp:GridView ID="GridView1" runat="server" DataSourceID="courseinfo" DataKeyNames="prefix,course_number"
                      OnSelectedIndexChanged="GridView1_SelectedIndexChanged" AutoGenerateColumns="False"
                      CellPadding="8" ForeColor="#333333" GridLines="vertical" BorderWidth="1" BorderColor="#dddddd"
                      AllowPaging="true" AllowSorting="true" AutoGenerateSelectButton="true"&gt;
                      &lt;RowStyle BackColor="#eeeeee" /&gt;
                      &lt;Columns&gt;
                          &lt;asp:BoundField DataField="prefix" HeaderText="prefix" SortExpression="prefix" /&gt;
                          &lt;asp:BoundField DataField="course_number" HeaderText="number" SortExpression="course_number" /&gt;
                          &lt;asp:BoundField DataField="title" HeaderText="title" SortExpression="title" /&gt;
                          &lt;asp:BoundField DataField="date_submitted" HeaderText="date submitted" SortExpression="date_submitted" /&gt;
                      &lt;/Columns&gt;
                      &lt;FooterStyle BackColor="black" Font-Bold="True" ForeColor="White" /&gt;
                      &lt;PagerStyle BackColor="black" ForeColor="White" HorizontalAlign="Center" /&gt;
                      &lt;SelectedRowStyle BackColor="#c0c0e0" Font-Bold="True" ForeColor="#333333" /&gt;
                      &lt;HeaderStyle BackColor="#000000" Font-Bold="True" ForeColor="#eeeeee" /&gt;
                      &lt;EditRowStyle BackColor="#2461BF" /&gt;
                      &lt;AlternatingRowStyle BackColor="White" /&gt;
                  &lt;/asp:GridView&gt;
  
  &lt;asp:FormView ID="FormView1" runat="server" DefaultMode="Edit" DataSourceID="courseinfo2"
                  DataKeyNames="prefix,course_number" Width="100%"&gt;
  </code></pre>
  
  <p>Of course the formview is complete but it contains a lot of code so I didn't include that here, although if anyone wants to see it, I can post it.</p>