remove listbox item
-
i have a listbox and it is binding and i set [ listbox.textfield = "name" ] and it full of name now i want : with click a button all of name in listbox delete and remove just with click a button. do you know how can i do this work??????????????
Hi, DropDownList/ListBox has Clear() method. U can use that method. ddl.Clear(); //To delete all items. ddl.Remove(x); //To delete perticular item Bye Pessi.
-
Hi, DropDownList/ListBox has Clear() method. U can use that method. ddl.Clear(); //To delete all items. ddl.Remove(x); //To delete perticular item Bye Pessi.
-
Hi, Sorry, This is the code, i forgot items. ddl.Items.Clear(); //To Delete all ddl.Items.Remove("Sample"); //To delete particular Bye Pessi.
-
Hi, Sorry, This is the code, i forgot items. ddl.Items.Clear(); //To Delete all ddl.Items.Remove("Sample"); //To delete particular Bye Pessi.