Hi there,
First of all thnanks for great website and tutorials and examples.
I learn a lot from here about asp.net.
Now I am using the multiple selection dropdown with the help of your code and dll dropdowncheckboxes.
I need to bind that with data base, but the dropdown does not show it.
The code i am using is as follows:
 
private void PopulateCountries()
    {
        String strQuery = "select ID, countryName from CountryTable order by countryName";
        using (OleDbConnection con = new OleDbConnection(System.Web.Configuration.WebConfigurationManager.ConnectionStrings["globe"].ConnectionString))
        {
            using (OleDbCommand cmd = new OleDbCommand())
            {
                cmd.CommandType = CommandType.Text;
                cmd.CommandText = strQuery;
                cmd.Connection = con;
                con.Open();
                ddlCountry.DataSource = cmd.ExecuteReader();
                ddlCountry.DataTextField = "countryName";
                ddlCountry.DataValueField = "ID";
                ddlCountry.DataBind();
                con.Close();
            }
        }
    }
ASP.net client side looks likes this:
 
<asp:DropDownCheckBoxes ID="ddlCountry" runat="server" Width="180px" UseSelectAllNode = "false">
    <Style SelectBoxWidth="195" DropDownBoxBoxWidth="160" DropDownBoxBoxHeight="90" />
    
</asp:DropDownCheckBoxes>
Hope you can guide me through this.
Thanks