Click here to Skip to main content
15,897,371 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi
i have an auto complete text box i am able to bind the the data to the text box i am able to retrieve the value and store it in the database
No i want know how do i bind the the saved value in the database to the to auto complete text box again i tried somewhat like this

AutoCompleteBoxEntry childNode = new AutoCompleteBoxEntry();
childNode.Text = lblTeamLeaderName.Text;
childNode.Value = lblTASKTEAM_ID.Text;
txtusers.Entries.Add(childNode);

and
txtusers.Entries[0].Value = lblTASKTEAM_ID.Text;
txtusers.Entries[0].Text = lblTeamLeaderName.Text;


but still value which is saved is not being shown in the textbox i want to bind the text and value some what like dropdownlist box can any one tell where i am going wrong
Posted

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