Hi to all,
Here i want to load uploaded image in dropdown.Please help me for this task.
Code behind:-
<link href="../css/dd.css" rel="stylesheet" type="text/css" />
<script src="../js/jquery.dd.js" type="text/javascript"></script>
<script src="../js/jquery.dd.min.js" type="text/javascript"></script>
<script src="../js/jquery-1.6.1.min.js" type="text/javascript"></script>
design:-
<label> Droddown Name </label>
<asp:DropDownList ID="ddlCountry" runat="server" Width="150px" onselectedindexchanged="ddlCountry_SelectedIndexChanged" AutoPostBack="true">
code behind:-
protected void BindDropDownList()
{
DataSet dqq = objbs.getimageforpo("5");
ddlCountry.DataTextField = "itemName";
ddlCountry.DataValueField = "Imagepath";
ddlCountry.DataSource = dqq;
ddlCountry.DataBind();
// con.Close();
}
in my database
have column name "ITEM" and "IMAGEPATH"
ITEM : name1
IMAGEPATH : ~/Files/220031.jpg
above jpg save like this is it ok to do msdropdown
What I have tried:
and in InsepectElement i got this error i search in net but i cant get any solution
Uncaught ReferenceError: jQuery is not defined