private void loadautocompleteitemcodelist() { DataSet ds = null; ds = _brItem.getitemcodedataset(); AutoCompleteStringCollection col = new AutoCompleteStringCollection(); foreach (DataRow dr in ds.Tables[0].Rows) { col.Add(dr["ITEMCODE"].ToString()); } txtNewCode.AutoCompleteCustomSource = col; txtNewCode.AutoCompleteMode = AutoCompleteMode.SuggestAppend; txtNewCode.AutoCompleteSource = AutoCompleteSource.CustomSource; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)