title: how to bind image and name in dropdownlist using asp.net
body: <p>I am using this code to bind dropdownlist.</p>
  
  <pre><code> protected void BindDataToGridviewDropdownlist()
        {
             XmlTextReader xmlreader = new XmlTextReader(Server.MapPath("XMLFILE.xml"));
             DataSet ds = new DataSet();
             ds.ReadXml(xmlreader);
             xmlreader.Close();
  
  
             if (ds.Tables.Count != 0)
         {
                 ddlDetails.DataSource = ds;
  
                 ddlDetails.DataTextField = "name";
                 ddlDetails.DataValueField = "name";
                 ddlDetails.DataBind();
  
  
      }     
  
   }
  </code></pre>
  
  <p>Its working but i am also bind image here in dropdownlist.</p>
  
  <p>Data comes from xml file.Here is node of xml file.</p>
  
  <pre><code>&lt;ente&gt;
      &lt;name&gt;Sydney&lt;/name&gt;
      &lt;img&gt;abc_australia.png&lt;/img&gt;
      &lt;descri&gt;ABC Radio Box 9994 GPO Sydney NSW 2001&lt;/descri&gt;
      &lt;nazione&gt;AUSTRALIA - AUSTRALIA&lt;/nazione&gt;
      &lt;latitudine&gt;-33.870652&lt;/latitudine&gt;
      &lt;longitudine&gt;151.208895&lt;/longitudine&gt;
      &lt;zoom&gt;-3&lt;/zoom&gt;
    &lt;/ente&gt;
  </code></pre>
  
  <p>How i can bind image here.</p>