How to select the item form the dropdownlist in gridview
<p>I have the dropdownlist in the gridview itemtemplate, i need to select the value based on the dataset, i tried to bind it as "SelectedValue='&lt;%# Eval("code") %>', but i cant find any attribute like "SelectedValue" in HTML code.</p>

<p>I tried below link also it was not work out to me</p>

<p><a href="http://stackoverflow.com/questions/7850004/eval-in-a-dropdownlist-within-a-gridview">Eval() in a DropDownList within a GridView</a></p>

<p>Can any one help me in that</p>
