How can I change border style in a panel?
<p>I have a dropdownlist that has a list of border style names like "Dotted,Solid,Groove..."
I need to change borderstyle , so tried something like this </p>

<pre><code>Panel1.BorderStyle = DropDownList1.SelectedItem.ToString();
</code></pre>

<p>this how i fill the dropdownlist
DropDownList3.DataSource = Enum.GetValues(typeof(BorderStyle));</p>

<p>But it doesn't work.</p>
