GridView DataKeyName for a DropDownList Select Statement
<p>When the user selects a row to edit I have a dropdownlist as one of the controls.  In order for me to populate that ddl I need one of the datakeyname values (there are three).  I was guessing that I could retrieve this value when the OnEditing event fired and pass it to the select statement for the ddl.  Just not sure how to do this.  I am using a stored procedure to query the Database.</p>

<p>This is my sqldatasource for the ddl -</p>

<pre><code>&lt;asp:SqlDataSource ID="SqlDataSourceDebtor" runat="server" 
                            ConnectionString="&lt;%$ ConnectionStrings:AuditDevConnectionString2 %&gt;" 
                            SelectCommand="sp_fc_vm_getDebtorList" SelectCommandType="StoredProcedure"&gt;
        &lt;SelectParameters&gt;
        &lt;asp:ControlParameter ControlID="GridView1" DefaultValue="0" Name="ClientKey" 
                                    PropertyName="SelectedValue" Type="Int32" /&gt;
      &lt;/SelectParameters&gt;
&lt;/asp:SqlDataSource&gt;
</code></pre>

<p>The "ClientKey" is the datakeyname value I need.</p>
