title: Obtain a value to a DataSource Parameters
body: <p>Well, Im new in ASP net and I just wanna know how to add a parameter to  a SQLDatasource
  I have a control (dropdawnlist) with some data:</p>
  
  <pre><code>&lt;td&gt;
                   &lt;asp:Label ID="Label3" runat="server" Text="&lt;%$ Resources:idiomas, moneda_origen %&gt;"&gt;&lt;/asp:Label&gt;&lt;br /&gt;                
                  &lt;asp:DropDownList ID="ddlOriginCurrency" runat="server" AutoPostBack="true"
                      DataTextField="MON_NOMBRE" DataValueField="MON_MONEDA_ID" DataSourceID="dsOriginCurrency"&gt;
                  &lt;/asp:DropDownList&gt;
              &lt;/td&gt;
              &lt;td&gt;
                   &lt;asp:Label ID="Label2" runat="server" Text="&lt;%$ Resources:idiomas, moneda_destino %&gt;"&gt;&lt;/asp:Label&gt;&lt;br /&gt;                
                  &lt;asp:DropDownList ID="ddlDestinationCurrency" runat="server" AutoPostBack="true"
                      DataTextField="MON_NOMBRE" DataValueField="MON_MONEDA_ID" DataSourceID="dsDestinationCurrency"&gt;
                  &lt;/asp:DropDownList&gt;
              &lt;/td&gt;
  </code></pre>
  
  <p>and I just wanna get the value from the any of those DropDawnlist to add as a parameter in my SQLDataSource when Updating</p>
  
  <pre><code> &lt;UpdateParameters&gt;
          &lt;asp:Parameter Name="BOF_FEES_ID" Type="Int32" /&gt;
          &lt;asp:Parameter Name="BOF_MONEDA_ORIGEN_ID" Type="Int32" /&gt;
          &lt;asp:Parameter Name="BOF_DESDE" Type="Int32" /&gt;
          &lt;asp:Parameter Name="BOF_HASTA" Type="Int32" /&gt;
          &lt;asp:Parameter Name="BOF_FEES" Type="Int32" /&gt;
          &lt;asp:Parameter Name="BOF_MARKUP" Type="Double" /&gt;
          &lt;asp:Parameter Name="BOF_INCREMENT_PERCENT" Type="Double" /&gt;
          &lt;asp:Parameter Name="BOF_BOOKINGCURRENCY_ID" Type="Double" /&gt;
      &lt;/UpdateParameters&gt;
  </code></pre>
  
  <p>There is a form to do it directly in ASP Code </p>