Hai, Am using DevExpress LookupEdit in C#.NET application.I want to clear all items in the LookupEdit.Please help
code:
lkpLabItem.Properties.DataSource = null;
lkpLabItem .Properties.DataSource = _lab.selectChemicals ();
lkpLabItem.Properties.DisplayMember = "labitem_Name";
lkpLabItem.Properties.ValueMember = "labItem_ID";
lkpLabItem.Properties.BestFitMode = BestFitMode.BestFit;
lkpLabItem.Properties.SearchMode = SearchMode.AutoComplete;
lkpLabItem.Properties.Columns.Add(new LookUpColumnInfo("labitem_Name", 100, "Lab Items"));
lkpLabItem.Properties.AutoSearchColumnIndex = 1;
Thank you.