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; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)