Value from row with DropDownList on DropDownList Index Changed Event
<p>Code:</p>

<pre><code>    &lt;asp:GridView ID="gv_Recruit" AutoGenerateColumns="False" Width="100%"
     runat="server" OnRowCreated="gvStates_RowCreated" 
        OnRowDataBound="gvStates_RowCreated"&gt;
  &lt;Columns&gt;
    &lt;asp:BoundField HeaderText="key" DataField="key" /&gt;
    &lt;asp:BoundField HeaderText="Name" DataField="Name" /&gt;
    &lt;asp:BoundField HeaderText="Quota" DataField="Quota" /&gt;
    &lt;asp:BoundField HeaderText="Session" DataField="Sess" &gt;
      &lt;ItemStyle HorizontalAlign="Center" /&gt;
      &lt;/asp:BoundField&gt;
    &lt;asp:TemplateField HeaderText=""&gt;
      &lt;ItemTemplate&gt;
        &lt;asp:DropDownList ID="ddlCities" Width="100%" AutoPostBack="true" runat="server" OnSelectedIndexChanged="ddl_selected"&gt;
        &lt;/asp:DropDownList&gt;
      &lt;/ItemTemplate&gt;
    &lt;/asp:TemplateField&gt;
    &lt;asp:BoundField HeaderText="Recruiter" DataField="Recruiter" /&gt;
    &lt;asp:BoundField HeaderText="MN Phone" DataField="MN Phone" /&gt;
    &lt;asp:BoundField HeaderText="Cell Phone" DataField="Cell Phone" /&gt;
  &lt;/Columns&gt;
&lt;/asp:GridView&gt;
</code></pre>

<p>Code Behind: </p>

<pre><code>protected void ddl_selected(object sender, EventArgs e)
{
    string _dd_value = ((DropDownList)sender).SelectedValue;
    string trying_to_get = gv_Recruit.Rows[???].Cells[0].Text.ToString(); 
    string also_tried = gv_Recruit.SelectedRow.Cells[0].Text.ToString();
}
</code></pre>

<p>Basically what I'm trying to do is get the key value from the first row when the drop down is changed so I can perform an update ??? </p>

<p>Can't figure this out.  </p>

<p>Thanks in advance for the help...</p>
