title: ASP.NET Web Forms dropdownlist option innerText
body: <p>I'm newbie in <code>ASP.NET Web Froms</code> and I want to get an <code>innerText</code> of selected option in a <code>dropDownList</code>. I've written the following code snippet in the <code>default.aspx</code>:</p>
  
  <pre><code>&lt;asp:DropDownList ID="ddl" runat="server"&gt;
  </code></pre>
  
  <p>and in the code-behind I've written</p>
  
  <pre><code>statsTitle.innerText=ddlBlog.Text;
  </code></pre>
  
  <p>But this line set a value attribute of selected <code>&lt;option&gt;</code> tag.</p>