GridView Timing Issue
<p>I have a problem with timing.  I have a GridView that I set the DataKeyName to the rows key value.  My problem is that one of the dropdownlist's in that row needs that key value.  How do I go about getting the correct key value into the SqlDataSource?  Right now it uses the default value so the dropdownlist is not populated. </p>

<p>Select statement -</p>

<pre><code>&lt;asp:SqlDataSource ID="SqlDataSource4" runat="server" 
     ConnectionString="&lt;%$ ConnectionStrings:AuditDevConnectionString2 %&gt;" 
     SelectCommand="sp_fc_vm_getSpokeTo" SelectCommandType="StoredProcedure"&gt;
     &lt;SelectParameters&gt;
          &lt;asp:ControlParameter ControlID="GridView1" DefaultValue="-1" Name="DebtorKey" 
                PropertyName="SelectedValue" Type="Int32" /&gt;
          &lt;/SelectParameters&gt;
&lt;/asp:SqlDataSource&gt;
</code></pre>
