Click here to Skip to main content
15,917,618 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear All,

I have a small query of two auto complete text boxes as I need to combine them as select one item in the first auto complete text box then relevant items on other combo box should display

Need a support

here is my code

this is 3 tier architecture
C#
private void loadautocompleteteamleaderidlist()
{
    DataSet ds = null;
    ds = _brTeamLeader.getteamleaderiddataset();
    AutoCompleteStringCollection col = new AutoCompleteStringCollection();

    foreach (DataRow dr in ds.Tables[0].Rows)
    {
        col.Add(dr["TL_ID"].ToString());
    }

    txtTLID.AutoCompleteCustomSource = col;
    txtTLID.AutoCompleteMode = AutoCompleteMode.SuggestAppend;
    txtTLID.AutoCompleteSource = AutoCompleteSource.CustomSource;
}
Posted
v2
Comments
So, what is the exact issue?
Asa code 25-Feb-14 0:50am    
need to show like this .... select item in one auto complete text box then show a item in second auto complete text box.... It's not worked here.....

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900