This is my combobox that bind to database.
<asp:DropDownList ID="ddlUnitType" runat="server" CssClass="fonttah"
DataSourceID="SqlDataSource1" DataTextField="UnitTypeName"
DataValueField="UnitTypeID">
</asp:DropDownList>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:SellAutomationConnectionString %>"
SelectCommand="SELECT [UnitTypeID], [UnitTypeName] FROM [UnitTypes]">
</asp:SqlDataSource>
Now I replacing it with below code ( using a jquery plugin to show combo box that have a avatar with items).
<table>
<tr>
<td width="208">
<div id="languages">
<ul>
<li> <img src="../../App_Themes/DefaultTheme/images/Select.png" alt="SelectItems" border="0" align="absmiddle"/> <span style=" font-weight:bold">... انتخاب کنید</span>
</li>
<li> <img src="../../App_Themes/DefaultTheme/images/home.png" alt="Home" align="absmiddle" border="0"/> <span style="text-align:left">واحدهای اقامتی کوتاه مرتبه</span>
</li>
<li> <img src="../../App_Themes/DefaultTheme/images/shopping.png" alt="shopping" align="absmiddle" border="0"/> <span>واحدهای تجاری</span>
</li>
</ul>
</div>
</td>
</tr>
</table>
And now I want to read data from database.In fact using this code instead of that combo box. How can I bind it to database?
Thanks.