I got tired working on that part of code for 3 days and searching on the internet please I need help to know HOW TO use auto complete textbox1 and use its value to set the value of textbox2 and textbox3 below code public class PopulateProduct { public string ProductDesc { get; set; } public decimal UnitPrice { get; set; } } Dictionary<string, PopulateProduct> dict = new Dictionary<string, PopulateProduct>(); public void load() { string connstr = "user id=rawpic;password=admin"; string cmdtxt = @"select PRODUCT_ID,DESCRIPTION,UNIT_PRICE from products"; AutoCompleteStringCollection autocom = new AutoCompleteStringCollection(); TB_PRODUCT_ID.AutoCompleteMode = AutoCompleteMode.Suggest; TB_PRODUCT_ID.AutoCompleteSource = AutoCompleteSource.CustomSource; TB_PRODUCT_ID.AutoCompleteCustomSource = autocom; using …

Member Avatar
Member Avatar
+0 forum 1

The End.